Chanceboxes and collectibles shouldn't appear in DM.

This commit is contained in:
Mari the Deer 2021-05-23 19:12:56 +02:00
commit 9e00ee41ae
4 changed files with 13 additions and 13 deletions

View file

@ -716,6 +716,12 @@ Class ChanceboxSpawner : Actor
{
override void PostBeginPlay()
{
if ( deathmatch )
{
// not in DM
Destroy();
return;
}
int numbox = 0;
let ti = ThinkerIterator.Create("ChanceboxSpawner");
while ( ti.Next() ) numbox++;