Merge pull request #13487 from DeltaFire15/borg-KA-upgrade-fix

Fixes borg KA upgrade installation
This commit is contained in:
silicons
2020-10-03 18:03:11 -07:00
committed by GitHub
3 changed files with 24 additions and 11 deletions
@@ -454,10 +454,12 @@
if(U.action(src))
to_chat(user, "<span class='notice'>You apply the upgrade to [src].</span>")
if(U.one_use)
U.afterInstall(src)
qdel(U)
else
U.forceMove(src)
upgrades += U
U.afterInstall(src)
else
to_chat(user, "<span class='danger'>Upgrade error.</span>")
U.forceMove(drop_location())