mirror of
https://github.com/LDDestroier/CC/
synced 2025-01-19 05:32:51 +00:00
Update ccbn.lua
This commit is contained in:
parent
be760921db
commit
94383cb44f
4
ccbn.lua
4
ccbn.lua
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user