mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 02:09:41 +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
@@ -74,7 +74,7 @@
|
||||
var/choice = tgui_input_list(user, "What would you like to paint the cutout as?", "Cutout Painting", cutout_types)
|
||||
if(!choice || !Adjacent(user) || I != user.get_active_hand())
|
||||
return TRUE
|
||||
if(do_after(user, 10 SECONDS, src))
|
||||
if(do_after(user, 10 SECONDS, target = src))
|
||||
var/picked_type = cutout_types[choice]
|
||||
new picked_type(loc)
|
||||
qdel(src) //Laaaazy. Technically heals it too. Must be held together with all that paint.
|
||||
|
||||
Reference in New Issue
Block a user