monstermaker: Remove when unable to spawn entity.
This commit is contained in:
parent
020528e544
commit
20ce1665cd
1 changed files with 2 additions and 0 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue