Wizard Item Recall Spell (#34411)
This commit is contained in:
@@ -679,6 +679,9 @@ public abstract class SharedActionsSystem : EntitySystem
|
||||
if (!action.RaiseOnUser && action.Container != null && !HasComp<MindComponent>(action.Container))
|
||||
target = action.Container.Value;
|
||||
|
||||
if (action.RaiseOnAction)
|
||||
target = actionId;
|
||||
|
||||
RaiseLocalEvent(target, (object) actionEvent, broadcast: true);
|
||||
handled = actionEvent.Handled;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user