Update tron

This commit is contained in:
LDDestroier 2018-11-15 01:23:58 -05:00 committed by GitHub
parent eaa030c32c
commit 5f92b1fa55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

2
tron
View File

@ -651,7 +651,7 @@ local moveTick = function(doSend)
for i = 1, #player do
p = player[i]
if not p.dead then
if (p.x == player[nou].x and p.y == player[nou].y) then
if (i == you) and (p.x == player[nou].x and p.y == player[nou].y) then
p.dead = true
deadGuys[i] = true
else