Fix editor not returning to initial act, kaetemi/ryzomclassic#80

develop
kaetemi 4 years ago
parent 6531fb0a2e
commit bbf4a0ac8a

@ -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 :");

Loading…
Cancel
Save