Refactor some update util extensions
Using arguments instead of separate overloads, plus better support for
automatically handling trait/property removals ('-' prefix).
This commit is contained in:
@@ -35,7 +35,7 @@ namespace OpenRA.Mods.Common.UpdateRules.Rules
|
||||
if (intensity == null)
|
||||
continue;
|
||||
|
||||
intensity.RenameKeyPreservingSuffix("Duration");
|
||||
intensity.RenameKey("Duration");
|
||||
}
|
||||
|
||||
yield break;
|
||||
|
||||
Reference in New Issue
Block a user