diff --git a/code/game/turfs/simulated/floor/plating.dm b/code/game/turfs/simulated/floor/plating.dm index 42bd1b5e990..787aa4ef1a3 100644 --- a/code/game/turfs/simulated/floor/plating.dm +++ b/code/game/turfs/simulated/floor/plating.dm @@ -140,7 +140,7 @@ /turf/simulated/floor/engine/cult/New() ..() - if(ticker)//only do this if the round is going..otherwise..fucking asteroid.. + if(ticker.mode)//only do this if the round is going..otherwise..fucking asteroid.. icon_state = ticker.cultdat.cult_floor_icon_state /turf/simulated/floor/engine/cult/narsie_act() diff --git a/code/modules/admin/admin_verbs.dm b/code/modules/admin/admin_verbs.dm index 7614f088f7f..353562eb8bf 100644 --- a/code/modules/admin/admin_verbs.dm +++ b/code/modules/admin/admin_verbs.dm @@ -160,6 +160,7 @@ var/list/admin_verbs_debug = list( /client/proc/enable_debug_verbs, /client/proc/toggledebuglogs, /client/proc/cmd_display_del_log, + /client/proc/cmd_display_del_log_simple, /client/proc/debugNatureMapGenerator, /client/proc/check_bomb_impacts, /client/proc/test_movable_UI, diff --git a/code/modules/admin/verbs/debug.dm b/code/modules/admin/verbs/debug.dm index 30e6a2b8d80..d267ca682e1 100644 --- a/code/modules/admin/verbs/debug.dm +++ b/code/modules/admin/verbs/debug.dm @@ -780,6 +780,33 @@ But you can call procs that are of type /mob/living/carbon/human/proc/ for that usr << browse(dellog.Join(), "window=dellog") +/client/proc/cmd_display_del_log_simple() + set category = "Debug" + set name = "Display Simple del() Log" + set desc = "Display a compacted del's log." + + if(!check_rights(R_DEBUG)) + return + + var/dat = "List of things that failed to GC this round

" + for(var/path in SSgarbage.items) + var/datum/qdel_item/I = SSgarbage.items[path] + if(I.failures) + dat += "[I] - [I.failures] times
" + + dat += "List of paths that did not return a qdel hint in Destroy()

" + for(var/path in SSgarbage.items) + var/datum/qdel_item/I = SSgarbage.items[path] + if(I.no_hint) + dat += "[I]
" + + dat += "List of paths that slept in Destroy()

" + for(var/path in SSgarbage.items) + var/datum/qdel_item/I = SSgarbage.items[path] + if(I.slept_destroy) + dat += "[I]
" + + usr << browse(dat, "window=simpledellog") /client/proc/cmd_admin_toggle_block(var/mob/M,var/block) if(!check_rights(R_SPAWN))