Merge pull request #13487 from DeltaFire15/borg-KA-upgrade-fix
Fixes borg KA upgrade installation
This commit is contained in:
@@ -27,6 +27,13 @@
|
||||
return FALSE
|
||||
return TRUE
|
||||
|
||||
/*
|
||||
This proc gets called by upgrades after installing them. Use this for things that for example need to be moved into a specific borg item,
|
||||
as performing this in action() will cause the upgrade to end up in the borg instead of its intended location due to forceMove() being called afterwards..
|
||||
*/
|
||||
/obj/item/borg/upgrade/proc/afterInstall(mob/living/silicon/robot/R, user = usr)
|
||||
return
|
||||
|
||||
/obj/item/borg/upgrade/proc/deactivate(mob/living/silicon/robot/R, user = usr)
|
||||
if (!(src in R.upgrades))
|
||||
return FALSE
|
||||
|
||||
Reference in New Issue
Block a user