Skip to content

Commit

Permalink
Fixed Playergrid breaking other player types
Browse files Browse the repository at this point in the history
  • Loading branch information
Bart Zaalberg committed May 31, 2022
1 parent f1bca67 commit 169a73e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/core/cotton/PlayerTypes/PlayerGrid.lua
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ function PlayerGrid:moveTo(x, y)
self.destinationCursor.y = y / self.tileSize
end

function PlayerBase:readd(x, y)
function PlayerGrid:readd(x, y)
self.sprite:add()
self.tempSprite:add()
self:moveTo(x, y)
Expand Down

0 comments on commit 169a73e

Please sign in to comment.