mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
Merge pull request #4620 from VOREStation/vplk-misc-fixes-2
Miscellaneous Small Fixes II
This commit is contained in:
@@ -251,7 +251,7 @@
|
||||
t = replacetext(t, "\[u\]", "<U>")
|
||||
t = replacetext(t, "\[/u\]", "</U>")
|
||||
t = replacetext(t, "\[time\]", "[stationtime2text()]")
|
||||
t = replacetext(t, "\[date\]", "[station_date]")
|
||||
t = replacetext(t, "\[date\]", "[stationdate2text()]")
|
||||
t = replacetext(t, "\[large\]", "<font size=\"4\">")
|
||||
t = replacetext(t, "\[/large\]", "</font>")
|
||||
if(findtext(t, "\[sign\]"))
|
||||
|
||||
@@ -32,6 +32,13 @@
|
||||
/obj/machinery/power/sensor/proc/auto_set_name()
|
||||
name = "[name_tag] - Powernet Sensor"
|
||||
|
||||
/obj/machinery/power/sensor/Destroy()
|
||||
. = ..()
|
||||
// TODO - Switch power_monitor to register deletion events instead of this.
|
||||
for(var/obj/machinery/computer/power_monitor/PM in world)
|
||||
if(PM.power_monitor)
|
||||
PM.power_monitor.refresh_sensors()
|
||||
|
||||
// Proc: check_grid_warning()
|
||||
// Parameters: None
|
||||
// Description: Checks connected powernet for warnings. If warning is found returns 1
|
||||
|
||||
Reference in New Issue
Block a user