Update ccbn.lua

This commit is contained in:
LDDestroier 2019-03-12 04:39:20 -04:00 committed by GitHub
parent be760921db
commit 94383cb44f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -1385,7 +1385,9 @@ local interpretNetMessage = function(msg)
elseif msg.gameID == gameID then
if isHost then
if msg.command == "set_controls" then
players[msg.pID].control = msg.control
if players[msg.pID] then
players[msg.pID].control = msg.control
end
end
else
if msg.command == "get_state" then