Fix MobStateChangedMessage not reaching AISystem (#2760)

This commit is contained in:
DrSmugleaf
2020-12-18 00:38:43 +01:00
committed by GitHub
parent 05a8f43ebb
commit 12088ee111

View File

@@ -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()