mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
fix wrong location (#8439)
This commit is contained in:
@@ -967,15 +967,17 @@
|
||||
|
||||
/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)
|
||||
return
|
||||
|
||||
if(!G)
|
||||
CRASH("/obj/screen/ammo/proc/add_hud() has been called from [src] without the required param of G")
|
||||
|
||||
//CHOMPAdd start
|
||||
if(!G.hud_enabled)
|
||||
return
|
||||
//CHOMPAdd End
|
||||
|
||||
if(!G.has_ammo_counter())
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user