choicescript icon indicating copy to clipboard operation
choicescript copied to clipboard

Randomtest fails if a non-ultimate scene in mygame.js ends without a *finish or *goto_scene

Open ChrisPC opened this issue 13 years ago • 1 comments

Notably, the actual game run in an actual browser rendered in index.html moves on to the next scene without complaint.

Test with nav = new SceneNavigator([ "1" ,"2" ]);

and two blank text files in /scenes, 1.txt and 2.txt

ChrisPC avatar May 08 '11 06:05 ChrisPC

Incidentally, the JS error produced by randomtest is:

java -jar tests\dojo-release-1.3.2-src\util\doh\js.jar randomtest.js 50 1)randomtest-output.txt js: uncaught JavaScript runtime exception: ReferenceError: "main" is not defined.

ChrisPC avatar May 08 '11 06:05 ChrisPC