rewritten
This commit is contained in:
parent
3ae6c416e5
commit
286871ca21
5 changed files with 15 additions and 15 deletions
2
main.lua
2
main.lua
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue