throw_at() will not quickstart a throw if the throw was triggered from the same stack as SSthrowing/fire() (#56004)

throw_at will not quickstart a throw if the throw was triggered from the same stack as SSthrowing/fire()

Infinite throwing loops are fine, as long as they don't loop at the stack level.
This commit is contained in:
Kyle Spier-Swenson
2021-01-09 21:08:27 -08:00
committed by GitHub
parent 655d5dc902
commit fe7cbf8842
+2 -1
View File
@@ -737,7 +737,8 @@
if(pulledby)
pulledby.stop_pulling()
if (quickstart && (throwing || SSthrowing.state == SS_RUNNING)) //Avoid stack overflow edgecases.
quickstart = FALSE
throwing = TT
if(spin)
SpinAnimation(5, 1)