Stop move on game end

This commit is contained in:
ineed bots 2022-04-18 15:01:42 -06:00
parent 835b3d597c
commit f58e91b762

View File

@ -2061,6 +2061,7 @@ doWalkScriptNotify()
*/ */
doWalk( goal, dist, isScriptGoal ) doWalk( goal, dist, isScriptGoal )
{ {
level endon ( "game_ended" );
self endon( "kill_goal" ); self endon( "kill_goal" );
self endon( "goal_internal" ); //so that the watchOnGoal notify can happen same frame, not a frame later self endon( "goal_internal" ); //so that the watchOnGoal notify can happen same frame, not a frame later