How did I NOT notice this massive oopsie?

This commit is contained in:
Mari the Deer 2025-01-25 14:25:21 +01:00
commit 8ea3b3a621
2 changed files with 3 additions and 3 deletions

View file

@ -60,7 +60,7 @@ Class LampMoth : Actor
{
// look for nearby lamps
double mindist = 62500.;
if ( !hnd ) SWWMHandler(EventHandler.Find("SWWMHandler"));
if ( !hnd ) hnd = SWWMHandler(EventHandler.Find("SWWMHandler"));
foreach ( s:level.Sectors )
{
// don't check sectors that aren't within bounds, saves some time