Fixed variable names

Fixed variable names so they use proper naming convention
This commit is contained in:
Zelacks
2013-09-04 22:57:08 +08:00
parent a8b0824b7a
commit ec501b1b32

View File

@@ -116,8 +116,8 @@
return
user << "<span class='notice'>You unscrew [silenced] from [src].</span>"
user.put_in_hands(silenced)
var/obj/item/weapon/silencer/silencer = silenced
fire_sound = silencer.oldsound
var/obj/item/weapon/silencer/S = silenced
fire_sound = S.oldsound
silenced = 0
w_class = 2
update_icon()
@@ -133,8 +133,8 @@
user.drop_item()
user << "<span class='notice'>You screw [I] onto [src].</span>"
silenced = I //dodgy?
var/obj/item/weapon/silencer/silencer = I
silencer.oldsound = fire_sound
var/obj/item/weapon/silencer/S = I
S.oldsound = fire_sound
fire_sound = 'sound/weapons/Gunshot_silenced.ogg'
w_class = 3
I.loc = src //put the silencer into the gun