mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-12 00:27:31 +01:00
[MIRROR] [no gbp] Dehydrated Carp will follow orders correctly [MDB IGNORE] (#19081)
* [no gbp] Dehydrated Carp will follow orders correctly (#73079) ## About The Pull Request Fixes #72914 The order of operations here were wrong, such that it was calling a proc which sent signals to inform a component about a new "master" before actually adding the component. I switched the proc calls around so that now it adds the component before telling the component that there is someone to listen to. ## Why It's Good For The Game Item you spent a valuable single telecrystal on did not work as advertised, now does. ## Changelog 🆑 fix: Rehydrated Carp should now properly recognise who is the boss and follow their instructions. /🆑 * [no gbp] Dehydrated Carp will follow orders correctly --------- Co-authored-by: Jacquerel <hnevard@gmail.com>
This commit is contained in:
@@ -98,8 +98,8 @@
|
||||
|
||||
AddComponent(/datum/component/regenerator, outline_colour = regenerate_colour)
|
||||
if (tamer)
|
||||
on_tamed(tamer, feedback = FALSE)
|
||||
befriend(tamer)
|
||||
on_tamed(tamer, FALSE)
|
||||
else
|
||||
AddComponent(/datum/component/tameable, food_types = list(/obj/item/food/meat), tame_chance = 10, bonus_tame_chance = 5, after_tame = CALLBACK(src, PROC_REF(on_tamed)))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user