mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-12 08:36:00 +01:00
[MIRROR] Fixes Luminescence actions [MDB IGNORE] (#19698)
* Fixes Luminescence actions (#73802) ## About The Pull Request - Add Component was supposed to use a named arg, quick fix - While testing the fix I noticed it doesn't properly remove the appearance when the item is lost, cuts the overlay on failures ## Why It's Good For The Game Mothblox said this broke things (it was making a weakref of a callback on accident) ## Changelog 🆑 Melbert fix: Luminsecent slime actions correctly update their appearance when integrating or ejecting slime cores /🆑 * Fixes Luminescence actions --------- Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
This commit is contained in:
@@ -547,7 +547,7 @@
|
||||
|
||||
/datum/action/innate/integrate_extract/New(Target)
|
||||
. = ..()
|
||||
AddComponent(/datum/component/action_item_overlay, CALLBACK(src, PROC_REF(locate_extract)))
|
||||
AddComponent(/datum/component/action_item_overlay, item_callback = CALLBACK(src, PROC_REF(locate_extract)))
|
||||
|
||||
/// Callback for /datum/component/action_item_overlay to find the slime extract from within the species
|
||||
/datum/action/innate/integrate_extract/proc/locate_extract()
|
||||
@@ -617,7 +617,7 @@
|
||||
|
||||
/datum/action/innate/use_extract/New(Target)
|
||||
. = ..()
|
||||
AddComponent(/datum/component/action_item_overlay, CALLBACK(src, PROC_REF(locate_extract)))
|
||||
AddComponent(/datum/component/action_item_overlay, item_callback = CALLBACK(src, PROC_REF(locate_extract)))
|
||||
|
||||
/// Callback for /datum/component/action_item_overlay to find the slime extract from within the species
|
||||
/datum/action/innate/use_extract/proc/locate_extract()
|
||||
|
||||
Reference in New Issue
Block a user