mirror of
https://github.com/Yawn-Wider/YWPolarisVore.git
synced 2026-07-16 18:46:01 +01:00
refactors most spans
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/obj/item/modular_computer/proc/power_failure(var/malfunction = 0)
|
||||
if(enabled) // Shut down the computer
|
||||
visible_message("<span class='danger'>\The [src]'s screen flickers briefly and then goes dark.</span>")
|
||||
visible_message(span_danger("\The [src]'s screen flickers briefly and then goes dark."))
|
||||
if(active_program)
|
||||
active_program.event_powerfailure(0)
|
||||
for(var/datum/computer_file/program/PRG in idle_threads)
|
||||
@@ -54,4 +54,4 @@
|
||||
return
|
||||
if(battery_power(power_usage))
|
||||
return
|
||||
power_failure()
|
||||
power_failure()
|
||||
|
||||
Reference in New Issue
Block a user