Change World.DisableTick to World.EnableTick

This commit is contained in:
Tirili
2011-10-23 13:11:39 +13:00
committed by Chris Forbes
parent 7cc0a45727
commit 6174ccc882
2 changed files with 5 additions and 4 deletions

View File

@@ -19,7 +19,7 @@ namespace OpenRA.Scripting
{
var playerRoot = Game.OpenWindow(w, "FMVPLAYER");
var player = playerRoot.GetWidget<VqaPlayerWidget>("PLAYER");
w.DisableTick = true;
w.EnableTick = false;
player.Load(movie);
// Mute world sounds
@@ -39,7 +39,7 @@ namespace OpenRA.Scripting
Widget.CloseWindow();
Sound.SoundVolumeModifier = oldModifier;
w.DisableTick = false;
w.EnableTick = true;
onComplete();
});
}