Skip to content

Commit

Permalink
fix local typo
Browse files Browse the repository at this point in the history
fixes #38
  • Loading branch information
Ulydev authored Dec 22, 2020
1 parent a834f53 commit 25b27a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions push.lua
Original file line number Diff line number Diff line change
Expand Up @@ -241,8 +241,8 @@ function push:toGame(x, y)
end

function push:toReal(x, y)
realX = self._OFFSET.x + (self._GWIDTH * x)/self._WWIDTH
realY = self._OFFSET.y + (self._GHEIGHT * y)/self._WHEIGHT
local realX = self._OFFSET.x + (self._GWIDTH * x)/self._WWIDTH
local realY = self._OFFSET.y + (self._GHEIGHT * y)/self._WHEIGHT
return realX, realY
end

Expand Down

0 comments on commit 25b27a0

Please sign in to comment.