From e0312a97ce83ac5e72d580db023ab2d66550a6b8 Mon Sep 17 00:00:00 2001 From: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Date: Wed, 7 Aug 2024 10:04:44 +1000 Subject: [PATCH] Add mapping load acts (#30722) Smug doesn't seem to have time to fix mapping state and I don't want to dump more time into it so. --- Content.Client/Commands/MappingClientSideSetupCommand.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Content.Client/Commands/MappingClientSideSetupCommand.cs b/Content.Client/Commands/MappingClientSideSetupCommand.cs index eb2d13c9540..3255e85e18f 100644 --- a/Content.Client/Commands/MappingClientSideSetupCommand.cs +++ b/Content.Client/Commands/MappingClientSideSetupCommand.cs @@ -1,3 +1,4 @@ +using Content.Client.Actions; using Content.Client.Mapping; using Content.Client.Markers; using JetBrains.Annotations; @@ -25,7 +26,7 @@ public override void Execute(IConsoleShell shell, string argStr, string[] args) _entitySystemManager.GetEntitySystem().MarkersVisible = true; _lightManager.Enabled = false; shell.ExecuteCommand("showsubfloorforever"); - _stateManager.RequestStateChange(); + _entitySystemManager.GetEntitySystem().LoadActionAssignments("/mapping_actions.yml", false); } } }