Random content (#815)
* demiplane crystal sprite update * fix demiplane astral haze vanilla * fix infinity money stacking * rabbits outbreak! * fix meta * fix rga * fix CLRF * move subterranean leap action to actions folder * Update audio.yml * Update natural.yml * restore lzk commit * fix endscreen text * fix goblin displacement, fix #809 * Update kudzu.yml
This commit is contained in:
@@ -825,6 +825,9 @@ public abstract class SharedActionsSystem : EntitySystem
|
||||
if (action.AttachedEntity != null)
|
||||
RemoveAction(action.AttachedEntity.Value, actionId, action: action);
|
||||
|
||||
if (action.StartDelay && action.UseDelay != null)
|
||||
SetCooldown(actionId, action.UseDelay.Value);
|
||||
|
||||
DebugTools.AssertOwner(performer, comp);
|
||||
comp ??= EnsureComp<ActionsComponent>(performer);
|
||||
action.AttachedEntity = performer;
|
||||
|
||||
Reference in New Issue
Block a user