This commit is contained in:
Trilbyspaceclone
2020-04-17 10:25:48 -04:00
committed by GitHub
parent 8d4782290c
commit 0f7bc55755
+1 -1
View File
@@ -46,7 +46,7 @@
user.visible_message("<span class='warning'>[user] bashes [src] with [W]!</span>")
playsound(user.loc, 'sound/effects/shieldbash.ogg', 50, 1)
cooldown = world.time
else if(istype(W, fixing))
else if(istype(W, repair_material))
if(obj_integrity >= max_integrity)
to_chat(user, "<span class='warning'>[src] is already in perfect condition.</span>")
else