Skip to content

Commit

Permalink
Update railgun.dm (#4756)
Browse files Browse the repository at this point in the history
Fixes a small bug where the blitzshell shotguns slug-shot has null charge cost and thus can't fire
  • Loading branch information
cdb-is-not-good authored Sep 6, 2023
1 parent e12c4d4 commit 9b1d261
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/projectiles/guns/energy/projectile/railgun.dm
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
init_firemodes = list(
list(mode_name="Buckshot", mode_desc="Fires a buckshot synth-shell", projectile_type=/obj/item/projectile/bullet/pellet/shotgun, charge_cost=100, icon="kill"),
list(mode_name="Beanbag", mode_desc="Fires a beanbag synth-shell", projectile_type=/obj/item/projectile/bullet/shotgun/beanbag, charge_cost=25, icon="stun"),
list(mode_name="Blast", mode_desc="Fires a slug synth-shell", projectile_type=/obj/item/projectile/bullet/shotgun, charge_cost=null, icon="destroy"),
list(mode_name="Blast", mode_desc="Fires a slug synth-shell", projectile_type=/obj/item/projectile/bullet/shotgun, charge_cost=50, icon="destroy"),
)
serial_type = "GP"
gun_tags = list(GUN_PROJECTILE, GUN_LASER, GUN_ENERGY, GUN_SCOPE)
Expand Down

0 comments on commit 9b1d261

Please sign in to comment.