Fix RCS1058

This commit is contained in:
RoosterDragon
2023-03-18 12:05:13 +00:00
committed by Gustas
parent d1dc6293e8
commit 1a299d10ed
4 changed files with 6 additions and 3 deletions

View File

@@ -82,7 +82,7 @@ namespace OpenRA.Mods.D2k.Traits
if (world.ActorMap.GetActorsAt(cell).Any(a => a.TraitOrDefault<Building>() != null))
return;
strength[cell] = strength[cell] - damage;
strength[cell] -= damage;
if (strength[cell] < 1)
RemoveTile(cell);
}