mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-08-28 07:38:35 +01:00
Added survivalist job, wilderness spawn and checkpoint spawn to Cynosure.
This commit is contained in:
@@ -401,7 +401,7 @@
|
||||
|
||||
if(muzzle_flash)
|
||||
set_light(0)
|
||||
|
||||
|
||||
user.hud_used.update_ammo_hud(user, src)
|
||||
|
||||
// Similar to the above proc, but does not require a user, which is ideal for things like turrets.
|
||||
@@ -746,16 +746,16 @@
|
||||
|
||||
/obj/item/gun/proc/get_ammo_count()
|
||||
return FALSE
|
||||
|
||||
|
||||
/obj/item/gun/equipped(mob/living/user, slot) // When a gun is equipped to your hands, we'll add the HUD to the user. Pending porting over TGMC guncode where wielding is far more sensible.
|
||||
if(slot == slot_l_hand || slot == slot_r_hand)
|
||||
user.hud_used.add_ammo_hud(user, src)
|
||||
else
|
||||
user.hud_used.remove_ammo_hud(user, src)
|
||||
|
||||
if(user?.hud_used)
|
||||
if(slot == slot_l_hand || slot == slot_r_hand)
|
||||
user.hud_used.add_ammo_hud(user, src)
|
||||
else
|
||||
user.hud_used.remove_ammo_hud(user, src)
|
||||
return ..()
|
||||
|
||||
/obj/item/gun/dropped(mob/living/user) // Ditto as above, we remove the HUD. Pending porting TGMC code to clean up this fucking nightmare of spaghetti.
|
||||
user.hud_used.remove_ammo_hud(user, src)
|
||||
|
||||
..()
|
||||
|
||||
/obj/item/gun/dropped(mob/living/user) // Ditto as above, we remove the HUD. Pending porting TGMC code to clean up this fucking nightmare of spaghetti.
|
||||
if(user?.hud_used)
|
||||
user.hud_used.remove_ammo_hud(user, src)
|
||||
..()
|
||||
|
||||
Reference in New Issue
Block a user