diff --git a/src/new/spawnmanager/spawnmanager.cpp b/src/new/spawnmanager/spawnmanager.cpp index bb360f300..ebb63d32a 100644 --- a/src/new/spawnmanager/spawnmanager.cpp +++ b/src/new/spawnmanager/spawnmanager.cpp @@ -292,6 +292,12 @@ void SpawnManagerClass::AI() LogicTimer = LogicRate; + /** + * No spawning if the spawner is EMP'ed. + */ + if (Owner->EMPFramesRemaining) + Owner->Assign_Target(nullptr); + /** * Iterate all the controls. */