Made some programs to call UI update on Topic()

This commit is contained in:
Karolis2011
2016-01-30 01:06:07 +02:00
parent c9eee51e82
commit 5e02b9154a
2 changed files with 6 additions and 0 deletions
@@ -367,6 +367,9 @@
update_icon()
return 1
update_uis()
return 0
// Used in following function to reduce copypaste
/obj/item/modular_computer/proc/power_failure()
if(enabled) // Shut down the computer
@@ -135,6 +135,9 @@
var/datum/computer_file/C = F.clone(0)
HDD.store_file(C)
nanomanager.update_uis(NM)
return 0
/datum/computer_file/program/filemanager/proc/parse_tags(var/t)
t = replacetext(t, "\[center\]", "<center>")
t = replacetext(t, "\[/center\]", "</center>")