Sfoglia il codice sorgente

Player 2 location online fix

tags/online
madiwka3 4 anni fa
parent
commit
a0383ba6d1
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      src/baseGame.lua

+ 1
- 1
src/baseGame.lua Vedi File

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


Caricamento…
Annulla
Salva