Remove HSLColor.
This commit is contained in:
@@ -38,7 +38,7 @@ namespace OpenRA.Mods.Common.Activities
|
||||
exp.GiveExperience(playerExperience);
|
||||
|
||||
if (self.Owner.IsAlliedWith(self.World.RenderPlayer))
|
||||
self.World.AddFrameEndTask(w => w.Add(new FloatingText(targetActor.CenterPosition, targetOwner.Color.RGB, FloatingText.FormatCashTick(donated), 30)));
|
||||
self.World.AddFrameEndTask(w => w.Add(new FloatingText(targetActor.CenterPosition, targetOwner.Color, FloatingText.FormatCashTick(donated), 30)));
|
||||
|
||||
foreach (var nct in targetActor.TraitsImplementing<INotifyCashTransfer>())
|
||||
nct.OnAcceptingCash(targetActor, self);
|
||||
|
||||
@@ -46,7 +46,7 @@ namespace OpenRA.Mods.Common.Activities
|
||||
ns.Sold(self);
|
||||
|
||||
if (showTicks && refund > 0 && self.Owner.IsAlliedWith(self.World.RenderPlayer))
|
||||
self.World.AddFrameEndTask(w => w.Add(new FloatingText(self.CenterPosition, self.Owner.Color.RGB, FloatingText.FormatCashTick(refund), 30)));
|
||||
self.World.AddFrameEndTask(w => w.Add(new FloatingText(self.CenterPosition, self.Owner.Color, FloatingText.FormatCashTick(refund), 30)));
|
||||
|
||||
self.Dispose();
|
||||
return this;
|
||||
|
||||
Reference in New Issue
Block a user