Campaign changes

This commit is contained in:
Anuken
2020-11-13 11:33:31 -05:00
parent 4e7d6e9a9d
commit 0908176079
76 changed files with 137 additions and 49 deletions
@@ -381,7 +381,7 @@ abstract class UnitComp implements Healthc, Physicsc, Hitboxc, Statusc, Teamc, I
}
//remove units spawned by the core
if(spawnedByCore && !isPlayer()){
if(spawnedByCore && !isPlayer() && !dead){
Call.unitDespawn(self());
}
}