Try to win a small amount of performance when the shellmap is disabled
This commit is contained in:
@@ -201,7 +201,7 @@ namespace OpenRA.Mods.Common.Widgets
|
||||
Game.Sound.StopVideo();
|
||||
video.Reset();
|
||||
videoSprite.Sheet.GetTexture().SetData(video.FrameData);
|
||||
world.AddFrameEndTask(_ => onComplete());
|
||||
Game.RunAfterTick(onComplete);
|
||||
}
|
||||
|
||||
public void CloseVideo()
|
||||
|
||||
Reference in New Issue
Block a user