Fix NPC reloads (#18694)
This commit is contained in:
@@ -89,9 +89,6 @@ public sealed class HTNSystem : EntitySystem
|
|||||||
|
|
||||||
private void OnPrototypeLoad(PrototypesReloadedEventArgs obj)
|
private void OnPrototypeLoad(PrototypesReloadedEventArgs obj)
|
||||||
{
|
{
|
||||||
if (!obj.ByType.ContainsKey(typeof(HTNCompoundPrototype)))
|
|
||||||
return;
|
|
||||||
|
|
||||||
OnLoad();
|
OnLoad();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user