Fix MobStateChangedMessage not reaching AISystem (#2760)
This commit is contained in:
@@ -269,6 +269,7 @@ namespace Content.Shared.GameObjects.Components.Mobs.State
|
||||
var message = new MobStateChangedMessage(this, old, state);
|
||||
|
||||
SendMessage(message);
|
||||
Owner.EntityManager.EventBus.RaiseEvent(EventSource.Local, message);
|
||||
}
|
||||
|
||||
bool IActionBlocker.CanInteract()
|
||||
|
||||
Reference in New Issue
Block a user