fix bounding box size for small font
This commit is contained in:
parent
7b01fe5d20
commit
bf530ddb83
@ -580,7 +580,7 @@ function collides(b1, b2)
|
|||||||
end
|
end
|
||||||
|
|
||||||
function wordtarget:update()
|
function wordtarget:update()
|
||||||
if collides({self.x, self.y, self.w, 7}, self.phin:box()) then
|
if collides({self.x, self.y, self.w, 6}, self.phin:box()) then
|
||||||
self:on_hit()
|
self:on_hit()
|
||||||
return true
|
return true
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user