Pin Removal Progress Bar (#11508)

This commit is contained in:
Geeves
2021-03-22 16:20:28 +02:00
committed by GitHub
parent 5109cd6311
commit 382b05bd53
2 changed files with 7 additions and 1 deletions

View File

@@ -910,7 +910,7 @@
if(pin && I.isscrewdriver())
visible_message(SPAN_WARNING("\The [user] begins to try and pry out \the [src]'s firing pin!"))
if(do_after(user,45 SECONDS,act_target = src))
if(do_after(user, 45 SECONDS))
if(pin.durable || prob(50))
visible_message(SPAN_NOTICE("\The [user] pops \the [pin] out of \the [src]!"))
pin.forceMove(get_turf(src))