diff --git a/code/modules/admin/misc_admin_procs.dm b/code/modules/admin/misc_admin_procs.dm index 8b34ac0d488..c92640414f4 100644 --- a/code/modules/admin/misc_admin_procs.dm +++ b/code/modules/admin/misc_admin_procs.dm @@ -699,6 +699,9 @@ GLOBAL_VAR_INIT(nologevent, 0) if(!check_rights(R_SPAWN)) return + if(!object) + return + var/list/types = typesof(/atom) var/list/matches = new()