Fix toolshed commands not working on reconnect (#4766)

* Fix toolshed commands not working on reconnect

* fix tests?

* space

* I love #if block errors
This commit is contained in:
Leon Friedrich
2023-12-27 16:48:33 -05:00
committed by GitHub
parent e6ab61fe42
commit 0611674915
8 changed files with 63 additions and 20 deletions

View File

@@ -9,6 +9,7 @@ using Robust.Shared.GameObjects;
using Robust.Shared.IoC;
using Robust.Shared.Map;
using Robust.Shared.Map.Components;
using Robust.Shared.Network;
using Robust.Shared.Player;
using Robust.Shared.Prototypes;
using Robust.Shared.Toolshed;
@@ -260,6 +261,7 @@ namespace Robust.Shared.Scripting
return true; // Do as I say!
}
public NetUserId? User => null;
public ICommonSession? Session => null;
public void WriteLine(string line)