monstermaker: Remove when unable to spawn entity.

This commit is contained in:
Marco Cawthorne 2020-04-09 14:05:59 +02:00
parent 020528e544
commit 20ce1665cd
1 changed files with 2 additions and 0 deletions

View File

@ -142,6 +142,8 @@ monstermaker::Spawner(void)
}
} else {
print(sprintf("^1monstermaker::^3Trigger^7: cannot call spawnfunction for %s\n", m_strMonster));
remove(this);
return;
}
/* shut off for good when we've spawned all we ever wanted */