Remove 700 usages of Component.Owner (#21100)
This commit is contained in:
@@ -111,8 +111,8 @@ public partial class MobStateSystem
|
||||
OnStateChanged(target, component, oldState, newState);
|
||||
RaiseLocalEvent(target, ev, true);
|
||||
_adminLogger.Add(LogType.Damaged, oldState == MobState.Alive ? LogImpact.Low : LogImpact.Medium,
|
||||
$"{ToPrettyString(component.Owner):user} state changed from {oldState} to {newState}");
|
||||
Dirty(component);
|
||||
$"{ToPrettyString(target):user} state changed from {oldState} to {newState}");
|
||||
Dirty(target, component);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
Reference in New Issue
Block a user