Fix action-granting items not being predicted (#20778)
* Ensure actions are predicted * Fix test fail
This commit is contained in:
@@ -27,6 +27,7 @@ public abstract class SharedCombatModeSystem : EntitySystem
|
||||
private void OnMapInit(EntityUid uid, CombatModeComponent component, MapInitEvent args)
|
||||
{
|
||||
_actionsSystem.AddAction(uid, ref component.CombatToggleActionEntity, component.CombatToggleAction);
|
||||
Dirty(uid, component);
|
||||
}
|
||||
|
||||
private void OnShutdown(EntityUid uid, CombatModeComponent component, ComponentShutdown args)
|
||||
|
||||
Reference in New Issue
Block a user