Skip to content

Commit

Permalink
Fixeki 4
Browse files Browse the repository at this point in the history
  • Loading branch information
CheBokJam committed Dec 8, 2024
1 parent 974c159 commit 34cf1f3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions code/datums/components/magazine_catcher.dm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
///Parent storage in which we want to collect magazines
var/obj/item/storage/storage
////Auto catching empty magazines: FALSE - disabled, TRUE - enabled
var/auto_catch
var/auto_catch = TRUE

/datum/component/magazine_catcher/Initialize()
. = ..()
Expand All @@ -22,7 +22,6 @@
RegisterSignals(parent, list(COMSIG_ITEM_EQUIPPED_NOT_IN_SLOT, COMSIG_ITEM_DROPPED), PROC_REF(removed_from_slot))
storage = parent
storage.verbs += /datum/component/magazine_catcher/verb/toggle_auto_catch
auto_catch = TRUE

/datum/component/magazine_catcher/UnregisterFromParent()
. = ..()
Expand Down

0 comments on commit 34cf1f3

Please sign in to comment.