Chanceboxes and collectibles shouldn't appear in DM.
This commit is contained in:
parent
749a2c7708
commit
9e00ee41ae
4 changed files with 13 additions and 13 deletions
|
|
@ -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++;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue