mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-22 08:01:06 +00:00
Guns in holsters/bags keep their safety icon (#8308)
This commit is contained in:
@@ -128,7 +128,7 @@
|
||||
var/image/gun_overlay = I
|
||||
if(gun_overlay.icon == gun_gui_icons && dd_hasprefix(gun_overlay.icon_state, "[safety_icon]"))
|
||||
overlays -= gun_overlay
|
||||
if(ismob(loc))
|
||||
if(!isturf(loc)) // In a mob, holster or bag or something
|
||||
overlays += image(gun_gui_icons,"[safety_icon][safety()]")
|
||||
|
||||
//Checks whether a given mob can use the gun
|
||||
|
||||
6
html/changelogs/holstered_safeties.yml
Normal file
6
html/changelogs/holstered_safeties.yml
Normal file
@@ -0,0 +1,6 @@
|
||||
author: mikomyazaki
|
||||
|
||||
delete-after: True
|
||||
|
||||
changes:
|
||||
- bugfix: "Holstered guns keep their safety icons."
|
||||
Reference in New Issue
Block a user