mirror of
https://github.com/LDDestroier/CC/
synced 2025-03-13 15:08:09 +00:00
Update tron
This commit is contained in:
parent
331743820f
commit
4f62c96dcc
6
tron
6
tron
@ -682,9 +682,6 @@ local setDirection = function(keylist, p, checkDir)
|
||||
end
|
||||
end
|
||||
|
||||
-- to counter P2's ability to turn twice in one tick
|
||||
local dlDirection
|
||||
|
||||
local game = function()
|
||||
local outcome
|
||||
local p, np
|
||||
@ -696,7 +693,7 @@ local game = function()
|
||||
setDirection(keysDown, p)
|
||||
setDirection(netKeysDown, np)
|
||||
else
|
||||
setDirection(keysDown, p, dlDirection)
|
||||
setDirection(keysDown, p)
|
||||
end
|
||||
|
||||
if keysDown[control.lookLeft] then
|
||||
@ -766,7 +763,6 @@ local networking = function()
|
||||
elseif msg.gameID == gamename then
|
||||
if not isHost then
|
||||
player = msg.player
|
||||
dlDirection = player[you].direction
|
||||
trail = msg.trail
|
||||
deadGuys = msg.deadGuys
|
||||
elseif type(msg.keysDown) == "table" then
|
||||
|
Loading…
x
Reference in New Issue
Block a user