Fixes Gun Renaming

- Renaming guns now only produces 1 input box
This commit is contained in:
TullyBurnalot
2016-11-12 01:32:50 +00:00
parent 0ebd0a3fb1
commit 71b64bbb5a
2 changed files with 0 additions and 5 deletions
-1
View File
@@ -334,7 +334,6 @@ obj/item/weapon/gun/proc/newshot()
/obj/item/weapon/gun/proc/rename_gun(mob/M)
var/input = stripped_input(M,"What do you want to name the gun?", ,"", MAX_NAME_LEN)
if(src && input && !M.stat && in_range(M,src) && !M.restrained() && M.canmove)
name = input
to_chat(M, "You name the gun [input]. Say hello to your new friend.")
@@ -34,10 +34,6 @@
update_icon()
chamber_round(0)
if(unique_rename)
if(istype(A, /obj/item/weapon/pen))
rename_gun(user)
/obj/item/weapon/gun/projectile/revolver/attack_self(mob/living/user)
var/num_unloaded = 0
chambered = null