Browse Source

Player 2 location online fix

tags/online
madiwka3 4 years ago
parent
commit
a0383ba6d1
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/baseGame.lua

+ 1
- 1
src/baseGame.lua View File

@@ -32,7 +32,7 @@ function basegame(dt)
player2.dy = (paddle_SPEED + p2bonus) * -1 player2.dy = (paddle_SPEED + p2bonus) * -1
elseif ((globalState ~= "nettest" and love.keyboard.isDown(p2control.down))) then elseif ((globalState ~= "nettest" and love.keyboard.isDown(p2control.down))) then
player2.dy = paddle_SPEED + p2bonus player2.dy = paddle_SPEED + p2bonus
elseif (globalState ~= "nettest")
elseif (globalState ~= "nettest") then
player2.dy = 0 player2.dy = 0
end end
end end


Loading…
Cancel
Save