Rename some VideoPlayerWidget methods for clarity

This commit is contained in:
penev92
2023-01-26 21:08:47 +02:00
committed by abcdefg30
parent 6321432d97
commit c3fcbf77ed
4 changed files with 15 additions and 7 deletions

View File

@@ -550,7 +550,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic
if (video != null)
{
player = panel.Get<VideoPlayerWidget>("PLAYER");
player.Load(prefix + filename);
player.LoadAndPlay(prefix + filename);
player.DrawOverlay = false;
isVideoLoaded = true;