From bbf4a0ac8a0eb676f87de8a04b97e4986fc1d399 Mon Sep 17 00:00:00 2001 From: kaetemi Date: Sat, 24 Oct 2020 01:25:20 +0800 Subject: [PATCH] Fix editor not returning to initial act, kaetemi/ryzomclassic#80 --- ryzom/client/src/r2/editor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ryzom/client/src/r2/editor.cpp b/ryzom/client/src/r2/editor.cpp index 457cee562..8e146e9ad 100644 --- a/ryzom/client/src/r2/editor.cpp +++ b/ryzom/client/src/r2/editor.cpp @@ -5785,7 +5785,7 @@ void CEditor::scenarioUpdated(CObject* highLevel, bool willTP, uint32 initialAct } // projectInLua(_Scenario); // push on the lua stack - getLua().push(float(initialActIndex)); // example reconnect after test in act4 + getLua().push(initialActIndex); // example reconnect after test in act4 // update value in the framework callEnvFunc("onScenarioUpdated", 2); //nlwarning("Instance list now is :");