Skip to content

Commit

Permalink
Plasma Caster Fix (#7425)
Browse files Browse the repository at this point in the history
# About the pull request

The plasma caster properly unequips, where previously it would fail to
unregister the firing signals

# Explain why it's good for the game

The game thought you would fire the plasma caster whenever you clicked
even if it was stored

# Changelog

:cl:
fix: Fixes chat showing "You fire the plasma caster" when firing an
energy weapon after equipping the plasma caster
/:cl:
  • Loading branch information
BeagleGaming1 authored Oct 29, 2024
1 parent 674cd37 commit f186329
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions code/modules/cm_preds/yaut_weapons.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1229,7 +1229,7 @@
force = 0
fire_delay = 3
flags_atom = FPRINT|QUICK_DRAWABLE|CONDUCT
flags_item = NOBLUDGEON|DELONDROP|IGNITING_ITEM //Can't bludgeon with this.
flags_item = NOBLUDGEON|IGNITING_ITEM //Can't bludgeon with this.
flags_gun_features = GUN_UNUSUAL_DESIGN
has_empty_icon = FALSE
explo_proof = TRUE
Expand Down Expand Up @@ -1353,7 +1353,6 @@
if(source)
forceMove(source)
source.caster_deployed = FALSE
return
..()

/obj/item/weapon/gun/energy/yautja/plasma_caster/able_to_fire(mob/user)
Expand Down

0 comments on commit f186329

Please sign in to comment.