mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-15 10:04:30 +01:00
Patrol bounties pay money (#96251)
## About The Pull Request Because patrols do not send anything material via the pad, they never register `contribution` naturally, and thus runtime when their cube is created. Makes patrol bounties register ID `contribution` when they begin tracking an ID's movements. ## Why It's Good For The Game I did thousands of credits of unpaid labor before i realized these weren't working ## Changelog 🆑 fix: Patrol bounties properly pay those who complete them /🆑
This commit is contained in:
@@ -68,6 +68,7 @@
|
||||
start_tracking(id_card)
|
||||
|
||||
/datum/bounty/patrol/proc/start_tracking(obj/item/card/id/id_card)
|
||||
contribution |= id_card.registered_account
|
||||
tracker = AddComponent(/datum/component/connect_containers, id_card, list(COMSIG_MOVABLE_MOVED = PROC_REF(on_card_moved)))
|
||||
RegisterSignal(id_card, COMSIG_MOVABLE_MOVED, PROC_REF(on_card_moved))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user