Replace * 25 in internal tick defaults with actual total

While the idea behind it is understandable,
this was inconsistent with the bulk of other defaults.
This commit is contained in:
reaperrr
2021-03-21 00:11:12 +01:00
committed by teinarss
parent 52d39db84a
commit e3fd54e147
9 changed files with 9 additions and 9 deletions

View File

@@ -30,7 +30,7 @@ namespace OpenRA.Mods.Common.Scripting
[Desc("Creates a new beacon that stays for the specified time at the specified WPos. " +
"Does not remove player set beacons, nor gets removed by placing them. " +
"Requires the 'PlaceBeacon' trait on the player actor.")]
public void New(Player owner, WPos position, int duration = 30 * 25, bool showRadarPings = true)
public void New(Player owner, WPos position, int duration = 750, bool showRadarPings = true)
{
var beacon = owner.PlayerActor.Info.TraitInfoOrDefault<PlaceBeaconInfo>();
if (beacon == null)

View File

@@ -27,7 +27,7 @@ namespace OpenRA.Mods.Common.Scripting
}
[Desc("Creates a new radar ping that stays for the specified time at the specified WPos.")]
public void Ping(Player player, WPos position, Color color, int duration = 30 * 25)
public void Ping(Player player, WPos position, Color color, int duration = 750)
{
radarPings?.Add(() => player.World.RenderPlayer == player, position, color, duration);
}