Hopefully fixes some tool-conversion things

This commit is contained in:
Anewbe
2018-08-03 15:06:52 -05:00
parent 7f84aeab9f
commit c2794c571d
90 changed files with 594 additions and 17253 deletions
+1 -1
View File
@@ -142,7 +142,7 @@
/obj/machinery/mining/drill/attackby(obj/item/O as obj, mob/user as mob)
if(!active)
if(O.is_multitool())
if(istype(O, /obj/item/device/multitool))
var/newtag = text2num(sanitizeSafe(input(user, "Enter new ID number or leave empty to cancel.", "Assign ID number") as text, 4))
if(newtag)
name = "[initial(name)] #[newtag]"