Skip to content

Commit 3c09b76

Browse files
committed
Engine: Clear script positions in stop()
1 parent facac2c commit 3c09b76

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/engine/engine.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ void Engine::start()
164164
void Engine::stop()
165165
{
166166
m_runningScripts.clear();
167+
m_scriptPositions.clear();
167168
}
168169

169170
/*! Starts a script with the given top level block as the given Target (a sprite or the stage). */

0 commit comments

Comments
 (0)