Account for other handlers destroying things early in WorldThingSpawned.

This commit is contained in:
Mari the Deer 2021-06-20 10:35:52 +02:00
commit 7f910358d3
2 changed files with 3 additions and 3 deletions

View file

@ -236,7 +236,7 @@ extend Class SWWMHandler
override void WorldThingSpawned( WorldEvent e )
{
if ( profiling ) curms = MSTime();
if ( SuppressMultiItem(e) )
if ( !e.Thing || SuppressMultiItem(e) )
{
if ( profiling ) worldthingspawned_ms += MSTime()-curms;
return;