Skip to content

Commit

Permalink
Update code/modules/projectiles/gun.dm
Browse files Browse the repository at this point in the history
Co-authored-by: Mark Suckerberg <[email protected]>
Signed-off-by: retlaw34 <[email protected]>
  • Loading branch information
rye-rice and MarkSuckerberg authored Nov 9, 2023
1 parent 9d3a433 commit 1eac061
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions code/modules/projectiles/gun.dm
Original file line number Diff line number Diff line change
Expand Up @@ -711,11 +711,10 @@
if(ismob(loc) && has_safety)
var/mutable_appearance/safety_overlay
safety_overlay = mutable_appearance('icons/obj/guns/safety.dmi')
switch(safety)
if(TRUE)
safety_overlay.icon_state = "safety-on"
if(FALSE)
safety_overlay.icon_state = "safety-off"
if(safety)
safety_overlay.icon_state = "safety-on"
else
safety_overlay.icon_state = "safety-off"
. += safety_overlay

/obj/item/gun/proc/handle_suicide(mob/living/carbon/human/user, mob/living/carbon/human/target, params, bypass_timer)
Expand Down

0 comments on commit 1eac061

Please sign in to comment.