mirror of
https://git.alee14.me/shiftos-archive/ShiftOS_TheReturn.git
synced 2025-01-22 18:02:16 +00:00
Fix trm handshake accept
This commit is contained in:
parent
e78caeaeff
commit
84be879805
2 changed files with 4 additions and 3 deletions
|
@ -294,9 +294,9 @@ Contents:
|
|||
}));
|
||||
break;
|
||||
case "trm_handshake_accept":
|
||||
if(args["guid"] != null)
|
||||
if(args["guid"] != null && args["target"] != null)
|
||||
{
|
||||
server.DispatchTo(new Guid(msg.GUID), new NetObject("hold_it", new ServerMessage
|
||||
server.DispatchTo(new Guid(args["target"] as string), new NetObject("hold_it", new ServerMessage
|
||||
{
|
||||
Name = "trm_handshake_guid",
|
||||
GUID = args["guid"] as string
|
||||
|
|
|
@ -279,7 +279,8 @@ namespace ShiftOS.Engine
|
|||
{
|
||||
ForwardGUID = guid;
|
||||
ServerManager.SendMessage("trm_handshake_accept", $@"{{
|
||||
guid: ""{ServerManager.thisGuid}""
|
||||
guid: ""{ServerManager.thisGuid}"",
|
||||
target: ""{guid}""
|
||||
}}");
|
||||
|
||||
IsForwardingConsoleWrites = true;
|
||||
|
|
Loading…
Reference in a new issue