Fix missing descriptions on guns.

examine() is supposed to return a value, these ones did not.
This commit is contained in:
Leshana
2018-04-25 22:16:28 -04:00
parent 4d1f216c85
commit 32416bc2b6
2 changed files with 2 additions and 2 deletions

View File

@@ -748,7 +748,7 @@
recoil = initial(recoil)
/obj/item/weapon/gun/examine(mob/user)
..()
. = ..()
if(firemodes.len > 1)
var/datum/firemode/current_mode = firemodes[sel_mode]
to_chat(user, "The fire selector is set to [current_mode.name].")

View File

@@ -144,7 +144,7 @@
return null
/obj/item/weapon/gun/energy/examine(mob/user)
..(user)
. = ..()
if(power_supply)
var/shots_remaining = round(power_supply.charge / charge_cost)
user << "Has [shots_remaining] shot\s remaining."