mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 03:57:13 +01:00
fixes a bunch of turfs being active roundstart (#22233)
* fixes a bunch of turfs being active roundstart * some ruins * qwerty dun broke it * main stations * that should do it * i'm blowing up qwerty * should be it * empty commit to check ci * merge fix * yippie * joyous * lavaland tax * regex w * I'm gonna fax mapmerge a low teir god gif * SOMEONE ELSE GOTTA GET FAXED * Update code/controllers/subsystem/SSair.dm Co-authored-by: SteelSlayer <42044220+SteelSlayer@users.noreply.github.com> --------- Co-authored-by: SteelSlayer <42044220+SteelSlayer@users.noreply.github.com>
This commit is contained in:
@@ -296,6 +296,7 @@ GLOBAL_LIST_INIT(admin_verbs_maintainer, list(
|
||||
verbs += /client/proc/ss_breakdown
|
||||
verbs += /client/proc/show_gc_queues
|
||||
verbs += /client/proc/toggle_mctabs
|
||||
verbs += /client/proc/visualise_active_turfs
|
||||
spawn(1) // This setting exposes the profiler for people with R_VIEWRUNTIMES. They must still have it set in cfg/admin.txt
|
||||
control_freak = 0
|
||||
|
||||
|
||||
@@ -967,6 +967,11 @@ GLOBAL_PROTECT(AdminProcCallSpamPrevention)
|
||||
if(confirm != "Im sure")
|
||||
return
|
||||
|
||||
var/display_turfs_overlay = FALSE
|
||||
var/do_display_turf_overlay = alert(usr, "Would you like to have all active turfs have a client side overlay applied as well?", "Optional", "Yep", "Nope")
|
||||
if(do_display_turf_overlay == "Yep")
|
||||
display_turfs_overlay = TRUE
|
||||
|
||||
message_admins("[key_name_admin(usr)] is visualising active atmos turfs. Server may lag.")
|
||||
|
||||
var/list/zlevel_turf_indexes = list()
|
||||
@@ -977,6 +982,8 @@ GLOBAL_PROTECT(AdminProcCallSpamPrevention)
|
||||
if(!zlevel_turf_indexes["[T.z]"])
|
||||
zlevel_turf_indexes["[T.z]"] = list()
|
||||
zlevel_turf_indexes["[T.z]"] |= T
|
||||
if(display_turfs_overlay)
|
||||
usr.client.images += image('icons/effects/alphacolors.dmi', T, "red")
|
||||
CHECK_TICK
|
||||
|
||||
// Sort the keys
|
||||
|
||||
Reference in New Issue
Block a user