mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-09 16:14:13 +00:00
Adds a slow down lighting button (#22067)
This commit is contained in:
@@ -715,6 +715,7 @@ var/global/floorIsLava = 0
|
||||
<A href='?src=\ref[src];vsc=airflow'>Edit ZAS Settings</A><br>
|
||||
<A href='?src=\ref[src];vsc=default'>Choose a default ZAS setting</A><br>
|
||||
<A href='?src=\ref[src];xgm_panel=1'>XGM Panel</A><br>
|
||||
<A href='?src=\ref[src];toggle_light=1'>Slow down lighting (Forces MC to crash, do not panic.)</A><br>
|
||||
<hr />
|
||||
"}
|
||||
|
||||
|
||||
@@ -4150,6 +4150,15 @@
|
||||
else if(href_list["xgm_panel"])
|
||||
XGM.ui_interact(usr)
|
||||
|
||||
else if(href_list["toggle_light"])
|
||||
if(!SSticker.initialized)
|
||||
to_chat(usr, "<span class = 'notice'>Please wait for initialization to complete.</span>")
|
||||
return
|
||||
SSlighting.flags = SS_FIRE_IN_LOBBY //Purges the treat wait as ticks rather than DC
|
||||
SSlighting.wait = 5
|
||||
Master.make_runtime = TRUE
|
||||
|
||||
|
||||
else if(href_list["toglang"])
|
||||
if(check_rights(R_SPAWN))
|
||||
var/mob/M = locate(href_list["toglang"])
|
||||
|
||||
Reference in New Issue
Block a user