mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 02:34:00 +00:00
[MIRROR] end of file Fix (#10355)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
2af001e7e5
commit
65f21fb1d3
@@ -45,4 +45,4 @@
|
||||
var/obj/item/computer_hardware/H = movable.find_hardware_by_name(params["name"])
|
||||
if(H && istype(H))
|
||||
H.enabled = !H.enabled
|
||||
. = TRUE
|
||||
. = TRUE
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
var/z = get_z(user)
|
||||
var/list/map_levels = using_map.get_map_levels(z)
|
||||
|
||||
|
||||
// Build list of data from sensor readings.
|
||||
for(var/obj/machinery/power/sensor/S in grid_sensors)
|
||||
if(!(S.z in map_levels))
|
||||
|
||||
@@ -43,4 +43,4 @@
|
||||
return data
|
||||
|
||||
/datum/tgui_module/shutoff_monitor/ntos
|
||||
ntos = TRUE
|
||||
ntos = TRUE
|
||||
|
||||
@@ -23,7 +23,7 @@ GLOBAL_DATUM_INIT(tgui_nif_main_state, /datum/tgui_state/nif_main_state, new)
|
||||
var/mob/living/carbon/human/H = user
|
||||
if(!H.nif || src_object != H.nif)
|
||||
return STATUS_CLOSE
|
||||
|
||||
|
||||
if(H.nif.stat == NIF_WORKING)
|
||||
return user.shared_tgui_interaction()
|
||||
else
|
||||
|
||||
@@ -15,4 +15,4 @@ GLOBAL_DATUM_INIT(tgui_vorepanel_state, /datum/tgui_state/vorepanel_state, new)
|
||||
return STATUS_CLOSE
|
||||
if(!isnewplayer(user) && user.stat == DEAD)
|
||||
return STATUS_DISABLED
|
||||
return STATUS_INTERACTIVE
|
||||
return STATUS_INTERACTIVE
|
||||
|
||||
Reference in New Issue
Block a user