Fixes for #476 and #475.

This commit is contained in:
Rob Nelson
2014-01-31 17:09:46 -08:00
parent ce661b7ee6
commit 70f25618c6
3 changed files with 53 additions and 3 deletions

View File

@@ -333,7 +333,7 @@
user << "\blue You need more welding fuel to complete this task."
return 1
if(istype(W, /obj/item/device/multitool))
interact(user)
update_multitool_menu(user)
return 1
if (!istype(W, /obj/item/weapon/wrench))
return ..()
@@ -376,6 +376,8 @@
return
var/obj/item/device/multitool/P = get_multitool(usr)
if(!P || !istype(P))
return
if("set_id" in href_list)
var/newid = copytext(reject_bad_text(input(usr, "Specify the new ID tag for this machine", src, id_tag) as null|text),1,MAX_MESSAGE_LEN)
@@ -408,4 +410,4 @@
P.buffer = null
usr.set_machine(src)
updateUsrDialog()
update_multitool_menu()