mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
[MIRROR] Makes uses of do_after sane (#11582)
Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
committed by
GitHub
parent
2c34c93e00
commit
1b8f394a14
@@ -293,7 +293,7 @@
|
||||
var/obj/item/stack/cable_coil/coil = W
|
||||
to_chat(user, span_notice("You begin to replace the wires."))
|
||||
//if(do_after(user, min(60, round( ((getMaxHealth()/health)*10)+(malfunction*10) ))) //Take longer to repair heavier damage
|
||||
if(do_after(user, 30))
|
||||
if(do_after(user, 3 SECONDS, target = src))
|
||||
if (coil.use(1))
|
||||
health = max_health
|
||||
malfunction = 0
|
||||
|
||||
Reference in New Issue
Block a user