1
0
mirror of https://github.com/LDDestroier/CC/ synced 2024-06-13 17:06:51 +00:00

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

View File

@ -1385,7 +1385,9 @@ local interpretNetMessage = function(msg)
elseif msg.gameID == gameID then elseif msg.gameID == gameID then
if isHost then if isHost then
if msg.command == "set_controls" 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 end
else else
if msg.command == "get_state" then if msg.command == "get_state" then