Don't require a WorldRenderer to draw non-world-rendering widgets.
This commit is contained in:
@@ -17,7 +17,7 @@ namespace OpenRA.Scripting
|
||||
{
|
||||
public static void PlayFMVFullscreen(World w, string movie, Action onComplete)
|
||||
{
|
||||
var playerRoot = w.OpenWindow("FMVPLAYER");
|
||||
var playerRoot = Game.OpenWindow(w, "FMVPLAYER");
|
||||
var player = playerRoot.GetWidget<VqaPlayerWidget>("PLAYER");
|
||||
w.DisableTick = true;
|
||||
player.Load(movie);
|
||||
|
||||
Reference in New Issue
Block a user