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
|
||||
|
||||
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()
|
||||
return true
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user