This commit is contained in:
kevinz000
2020-04-22 10:45:13 -07:00
parent 3e09ee8328
commit 467497af54
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -389,6 +389,8 @@ obj/item/shield/riot/bullet_proof
recharge_timerid = null
/obj/item/shield/riot/implant/proc/recharge()
if(obj_integrity == max_integrity)
return
obj_integrity = max_integrity
if(ismob(loc.loc)) //cyberimplant.user
to_chat(loc, "<span class='notice'>[src] has recharged its reinforcement matrix and is ready for use!</span>")
+1 -1
View File
@@ -272,7 +272,7 @@
contents = newlist(/obj/item/shield/riot/implant)
/obj/item/organ/cyberimp/arm/shield/Extend(obj/item/I)
if(item.obj_integrity == 0) //that's how the shield recharge works
if(I.obj_integrity == 0) //that's how the shield recharge works
to_chat(owner, "<span class='warning'>[I] is still too unstable to extend. Give it some time!</span>")
return FALSE
return ..()