mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-24 12:37:50 +01:00
Merge pull request #4620 from VOREStation/vplk-misc-fixes-2
Miscellaneous Small Fixes II
This commit is contained in:
@@ -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