Remove PARENT_TOP and PARENT_LEFT from integer expressions for widgets

PARENT_TOP and PARENT_LEFT should be 0 so they are not very useful substitutions. They are replaced with 0 or removed if that was the whole value for a field.
This commit is contained in:
Ivaylo Draganov
2024-10-03 17:43:16 +03:00
committed by Gustas
parent c0839d4521
commit a69ea79d83
5 changed files with 53 additions and 6 deletions

View File

@@ -90,6 +90,7 @@ namespace OpenRA.Mods.Common.UpdateRules
new AddSupportPowerBlockedCursor(),
new MovePreviewFacing(),
new RenameOnDeath(),
new RemoveParentTopParentLeftSubstitutions(),
// Execute these rules last to avoid premature yaml merge crashes.
new ReplaceCloakPalette(),