mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 02:34:00 +00:00
Gives a dummy variable a use. hud_enabled (#8324)
This commit is contained in:
@@ -967,6 +967,9 @@
|
|||||||
|
|
||||||
/obj/screen/ammo/proc/add_hud(var/mob/living/user, var/obj/item/weapon/gun/G)
|
/obj/screen/ammo/proc/add_hud(var/mob/living/user, var/obj/item/weapon/gun/G)
|
||||||
|
|
||||||
|
if(G.hud_enabled == FALSE)
|
||||||
|
return
|
||||||
|
|
||||||
if(!user?.client)
|
if(!user?.client)
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user