mirror of
https://github.com/LDDestroier/CC/
synced 2024-12-14 12:10:29 +00:00
Fixed side-collisions being detected as ties
This commit is contained in:
parent
3576ee74f2
commit
becb067096
6
tron
6
tron
@ -664,9 +664,11 @@ local moveTick = function(doSend)
|
||||
for a = 1, #player do
|
||||
if (a ~= i) and (player[a].x == p.x and player[a].y == p.y) then
|
||||
p.dead = true
|
||||
player[a].dead = true
|
||||
deadGuys[i] = true
|
||||
deadGuys[a] = true
|
||||
if (p.direction + 2) % 4 == player[a].direction % 4 then
|
||||
player[a].dead = true
|
||||
deadGuys[a] = true
|
||||
end
|
||||
break
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user