Fix broken backward scripts in scriptScheduler

This commit is contained in:
Malin E
2021-10-11 10:29:20 +02:00
parent e2c592e049
commit 630360cfad
2 changed files with 5 additions and 3 deletions
@@ -357,6 +357,8 @@ local clearPlay = {
Command = [[
openspace.scriptScheduler.clear(0);
openspace.setPropertyValueSingle('Dashboard.JWSTStateText.Text', '');
openspace.setPropertyValueSingle('Scene.Earth.Renderable.Layers.NightLayers.Earth_at_Night_2012.Settings.Gamma', 1.0)
openspace.setPropertyValueSingle('Scene.EarthAtmosphere.Renderable.Enabled', true)
local deltaTime = openspace.time.deltaTime();
if deltaTime > 0 then
openspace.time.setDeltaTime(1);