File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -655,16 +655,14 @@ export class Core {
655655 }
656656 }
657657
658- async executeSandboxScenario ( scenarioObjects ) {
658+ async executeScenario ( scenarioObjects ) {
659659 const snap = this . scenarioManager . snapshot ( )
660660 try {
661661 this . scenarioManager . setScenario ( scenarioObjects )
662- while ( this . scenarioManager . hasNext ( ) ) {
663- await this . runScenario ( )
664- }
662+ await this . runScenario ( )
665663 return { success : true }
666664 } catch ( error ) {
667- console . error ( 'Sandbox scenario error:' , error )
665+ console . error ( 'scenario error:' , error )
668666 return {
669667 success : false ,
670668 error : error . message || 'Unknown error' ,
@@ -753,7 +751,7 @@ export class Core {
753751 deleteSave : ( slot ) => this . deleteSave ( slot ) ,
754752 } ,
755753 sandbox : {
756- execute : this . executeSandboxScenario . bind ( this ) ,
754+ execute : this . executeScenario . bind ( this ) ,
757755 } ,
758756 }
759757 }
You can’t perform that action at this time.
0 commit comments