mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 15:17:01 +01:00
[MIRROR] Holo para refund fix [MDB IGNORE] (#23823)
* Holo para refund fix (#78431) ## About The Pull Request Holoparasite injector can be refunded if its been used, this is because the uplink_reimburse element is not removed from it when its used. Added some signal code to it so that this is fixed. ## Why It's Good For The Game Fixes a bug. ## Changelog Fixes a bug allowing holopara injectors to be refundable when used. 🆑 fix: Fixes a bug allowing holopara injectors to be refundable when used. /🆑 * Holo para refund fix --------- Co-authored-by: Coconutwarrior97 <40315842+Coconutwarrior97@users.noreply.github.com>
This commit is contained in:
co-authored by
Coconutwarrior97
parent
f22f4d1cf9
commit
93e77f7a49
@@ -87,9 +87,10 @@ GLOBAL_LIST_INIT(guardian_radial_images, setup_guardian_radial())
|
||||
if(LAZYLEN(candidates))
|
||||
var/mob/dead/observer/candidate = pick(candidates)
|
||||
spawn_guardian(user, candidate, guardian_path)
|
||||
used = TRUE
|
||||
SEND_SIGNAL(src, COMSIG_TRAITOR_ITEM_USED(type))
|
||||
else
|
||||
to_chat(user, failure_message)
|
||||
used = FALSE
|
||||
|
||||
/obj/item/guardiancreator/proc/spawn_guardian(mob/living/user, mob/dead/candidate, guardian_path)
|
||||
if(QDELETED(user) || user.stat == DEAD)
|
||||
|
||||
Reference in New Issue
Block a user