Unstatic the Sound class.
This commit is contained in:
@@ -204,7 +204,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
public void BeforeTransform(Actor self)
|
||||
{
|
||||
foreach (var s in Info.UndeploySounds)
|
||||
Sound.PlayToPlayer(self.Owner, s, self.CenterPosition);
|
||||
Game.Sound.PlayToPlayer(self.Owner, s, self.CenterPosition);
|
||||
}
|
||||
|
||||
public void OnTransform(Actor self) { }
|
||||
|
||||
Reference in New Issue
Block a user