diff --git a/sonic-radiance.love/scenes/battlesystem/actors/hero.lua b/sonic-radiance.love/scenes/battlesystem/actors/hero.lua index 13f100e..934505b 100644 --- a/sonic-radiance.love/scenes/battlesystem/actors/hero.lua +++ b/sonic-radiance.love/scenes/battlesystem/actors/hero.lua @@ -72,7 +72,9 @@ function Hero:setActive() core.debug:warning("cbs/character", "move value is nil") end self.world.cursor:setGrid(self.x, self.y, "circle", gridsize, 1, self) + self.x, self.y = utils.math.round(self.x), utils.math.round(self.y) self.startx, self.starty = self.x, self.y + self.world.cursor:set(self.startx, self.starty, "cursorMove") self:talk("turnstart")