Change Crate.Lifetime from 'seconds' to ticks

As far as I could tell, this was the last place that still
used 'seconds' instead of ticks, apart from
some sound notification intervals (which are better
converted to real [milli]seconds).

Also renamed ScaredyCat.PanicLength to PanicDuration for
consistency and easier finding.
This commit is contained in:
reaperrr
2021-03-21 00:51:43 +01:00
committed by teinarss
parent e3fd54e147
commit 53e6d974f0
9 changed files with 57 additions and 11 deletions

View File

@@ -94,6 +94,7 @@ namespace OpenRA.Mods.Common.UpdateRules
new RemoveResourceType(),
new ConvertBoundsToWDist(),
new RemoveSmokeTrailWhenDamaged(),
new ReplaceCrateSecondsWithTicks(),
})
};