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.
This commit is contained in:
metalgearsloth
2024-08-07 10:04:44 +10:00
committed by GitHub
parent bd36ff93d2
commit e5fe6f7824

View File

@@ -1,3 +1,4 @@
using Content.Client.Actions;
using Content.Client.Mapping;
using Content.Client.Markers;
using JetBrains.Annotations;
@@ -25,7 +26,7 @@ internal sealed class MappingClientSideSetupCommand : LocalizedCommands
_entitySystemManager.GetEntitySystem<MarkerSystem>().MarkersVisible = true;
_lightManager.Enabled = false;
shell.ExecuteCommand("showsubfloorforever");
_stateManager.RequestStateChange<MappingState>();
_entitySystemManager.GetEntitySystem<ActionsSystem>().LoadActionAssignments("/mapping_actions.yml", false);
}
}
}