Fix AutoTarget null crash: add FrozenActorLayer to player, FrozenUnderFog on buildings
AttackMoveActivity scanned for frozen actors on a player with no FrozenActorLayer -> NullReferenceException mid-match. Verified by a full AI-vs-AI arena match running to completion (BotA won at tick ~10500). Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
parent
975f305fa1
commit
1939f868b0
@ -105,6 +105,8 @@ djgrunt:
|
|||||||
|
|
||||||
^EconBuilding:
|
^EconBuilding:
|
||||||
Inherits: ^EconSprite
|
Inherits: ^EconSprite
|
||||||
|
-HiddenUnderFog:
|
||||||
|
FrozenUnderFog:
|
||||||
WithDamageOverlay:
|
WithDamageOverlay:
|
||||||
FireWarheadsOnDeath:
|
FireWarheadsOnDeath:
|
||||||
Weapon: BuildingExplode
|
Weapon: BuildingExplode
|
||||||
|
|||||||
@ -4,6 +4,7 @@
|
|||||||
|
|
||||||
player:
|
player:
|
||||||
Inherits: ^baseplayer
|
Inherits: ^baseplayer
|
||||||
|
FrozenActorLayer:
|
||||||
DeveloperMode:
|
DeveloperMode:
|
||||||
PlayerResources:
|
PlayerResources:
|
||||||
DefaultCash: 5000
|
DefaultCash: 5000
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user