Skip to content

Commit

Permalink
Merge branch 'bugfix-Nova-Station-13' of https://github.com/PiroMage/…
Browse files Browse the repository at this point in the history
…Paradise into bugfix-Nova-Station-13
  • Loading branch information
PiroMage committed Nov 17, 2024
2 parents 8b781d4 + 694ac59 commit f6e41f7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions code/modules/projectiles/guns/energy/special.dm
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,14 @@

/obj/item/gun/energy/floragun/emag_act(mob/user)
. = ..()

if(emagged)
return

if(user)
balloon_alert(user, "протоколы защиты сняты!")

emagged = TRUE
ammo_type = list(/obj/item/ammo_casing/energy/flora/alpha/emag, /obj/item/ammo_casing/energy/flora/beta, /obj/item/ammo_casing/energy/flora/gamma)
update_ammo_types()

Expand Down

0 comments on commit f6e41f7

Please sign in to comment.