mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-09 16:14:13 +00:00
Fixes mobs runtiming on Destroy() on worldgen (#37673)
This commit is contained in:
committed by
GitHub
parent
45e70a9fb7
commit
811602c8e9
@@ -27,7 +27,7 @@
|
||||
if(addicted_chems)
|
||||
QDEL_NULL(addicted_chems)
|
||||
|
||||
var/datum/gamemode/dynamic/dyn_mode = ticker.mode
|
||||
var/datum/gamemode/dynamic/dyn_mode = ticker?.mode
|
||||
if (istype(dyn_mode))
|
||||
dyn_mode.living_players -= src
|
||||
|
||||
|
||||
Reference in New Issue
Block a user