mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-17 10:03:50 +01:00
Smith Polish: Fast-Click Lens Durability Fix (#29205)
* Fixes lenses taking too much durability damage * Better fix
This commit is contained in:
@@ -173,9 +173,12 @@
|
||||
/obj/item/gun/energy/process_fire(atom/target, mob/living/user, message = 1, params, zone_override, bonus_spread = 0)
|
||||
if(!chambered && can_shoot())
|
||||
process_chamber()
|
||||
return ..()
|
||||
|
||||
/obj/item/gun/energy/shoot_live_shot(mob/living/user, atom/target, pointblank = FALSE, message = TRUE)
|
||||
..()
|
||||
if(current_lens)
|
||||
current_lens.damage_lens()
|
||||
return ..()
|
||||
|
||||
/obj/item/gun/energy/proc/select_fire(mob/living/user)
|
||||
select++
|
||||
|
||||
Reference in New Issue
Block a user