mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-24 16:41:48 +00:00
Fixed variable names
Fixed variable names so they use proper naming convention
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user