Account for other handlers destroying things early in WorldThingSpawned.
This commit is contained in:
parent
73da618750
commit
7f910358d3
2 changed files with 3 additions and 3 deletions
|
|
@ -1,3 +1,3 @@
|
|||
[default]
|
||||
SWWM_MODVER="\chSWWM \czGZ\c- \cw0.9.11b-pre r547 \cu(Fri 18 Jun 11:17:01 CEST 2021)\c-";
|
||||
SWWM_SHORTVER="\cw0.9.11b-pre r547 \cu(2021-06-18 11:17:01)\c-";
|
||||
SWWM_MODVER="\chSWWM \czGZ\c- \cw0.9.11b-pre r548 \cu(Sun 20 Jun 10:35:52 CEST 2021)\c-";
|
||||
SWWM_SHORTVER="\cw0.9.11b-pre r548 \cu(2021-06-20 10:35:52)\c-";
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue