Fix RCS1170

This commit is contained in:
RoosterDragon
2023-03-18 13:05:26 +00:00
committed by Gustas
parent fbe147ce61
commit 25cb3728ca
4 changed files with 7 additions and 5 deletions

View File

@@ -29,6 +29,8 @@ namespace OpenRA.Mods.Common.Widgets
public int AnimationLength = 5;
public string RadarOnlineSound = null;
public string RadarOfflineSound = null;
public string SoundUp;
public string SoundDown;
public Func<bool> IsEnabled = () => true;
public Action AfterOpen = () => { };
public Action AfterClose = () => { };
@@ -63,9 +65,6 @@ namespace OpenRA.Mods.Common.Widgets
PlayerRadarTerrain playerRadarTerrain;
Player currentPlayer;
public string SoundUp { get; private set; }
public string SoundDown { get; private set; }
[ObjectCreator.UseCtor]
public RadarWidget(World world, WorldRenderer worldRenderer)
{