mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +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
@@ -166,7 +166,7 @@
|
||||
return
|
||||
|
||||
to_chat(user, "You begin repairing damage to \the [src]...")
|
||||
if(WT.remove_fuel(round(damage/75)) && do_after(user, damage/10))
|
||||
if(WT.remove_fuel(round(damage/75)) && do_after(user, damage/10, target = src))
|
||||
damage = 0
|
||||
to_chat(user, "You repair \the [src].")
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user