Fix pendboard error while loading in.
This commit is contained in:
parent
2a5f127fd1
commit
9100fd7295
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ function MakepEndBoard(winner)
|
|||
pEndBoard = nil
|
||||
end
|
||||
|
||||
local localwin = winner == TEAM_HUMAN and LocalPlayer():Team() == winner
|
||||
local localwin = winner == TEAM_HUMAN and LocalPlayer():IsValid() and LocalPlayer():Team() == winner
|
||||
|
||||
local wid = 640
|
||||
|
||||
|
|
Loading…
Reference in a new issue