Fixed ore processing machines not updating properly

This commit is contained in:
Peter Wall
2013-08-01 14:42:53 +02:00
parent ed5d286ceb
commit 0bd10c628d
2 changed files with 20 additions and 3 deletions

View File

@@ -18,7 +18,15 @@
else
del(src)
/obj/machinery/mineral/processing_unit_console/attack_hand(user as mob)
/obj/machinery/mineral/processing_unit_console/process()
updateDialog()
/obj/machinery/mineral/processing_unit_console/attack_hand(mob/user)
add_fingerprint(user)
interact(user)
/obj/machinery/mineral/processing_unit_console/interact(mob/user)
user.set_machine(src)
var/dat = "<b>Smelter control console</b><br><br>"
//iron
@@ -114,7 +122,7 @@
user << browse("[dat]", "window=console_processing_unit")
onclose(user, "console_processing_unit")
/obj/machinery/mineral/processing_unit_console/Topic(href, href_list)