rewritten

This commit is contained in:
0x81c 2015-03-14 06:18:04 -04:00
parent 3ae6c416e5
commit 286871ca21
5 changed files with 15 additions and 15 deletions

View file

@ -77,7 +77,7 @@ function love.keypressed(key)
currentRoom:movePlayer(key)
elseif Input.isPlayerSwitch(key) then
local c = Input.playerColor(key)
currentRoom:switchPlayer(c)
currentRoom:switchPlayerColor(c)
end
if key == "w" then
worldSha = worldSha + 1