mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 00:29:02 +01:00
Prevents mecha drills from stacking do_afters on the same target. (#55145)
* Feex * Feex 2.0 Feexlectric Feexaloo * Whitespace purge
This commit is contained in:
@@ -44,7 +44,8 @@
|
||||
"<span class='userdanger'>[chassis] starts to drill [target]...</span>", \
|
||||
"<span class='hear'>You hear drilling.</span>")
|
||||
|
||||
if(do_after_cooldown(target, source))
|
||||
// You can't drill harder by clicking more.
|
||||
if(!(target in source.do_afters) && do_after_cooldown(target, source))
|
||||
log_message("Started drilling [target]", LOG_MECHA)
|
||||
// Drilling a turf is a one-and-done procedure.
|
||||
if(isturf(target))
|
||||
|
||||
Reference in New Issue
Block a user