Skip to content

Commit 318304a

Browse files
committed
Fix terraform point visibility for 2025.06.15.
See beyond-all-reason/RecoilEngine#2771
1 parent 0dd031a commit 318304a

3 files changed

Lines changed: 4 additions & 1 deletion

File tree

LuaRules/Gadgets/unit_terraform.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3834,6 +3834,9 @@ function gadget:UnitCreated(unitID, unitDefID, teamID)
38343834
if unitDefID == terraunitDefID then
38353835
terraUnits[unitID] = true
38363836
Spring.UnitRendering.SetUnitLuaDraw(unitID, true)
3837+
if Spring.SetUnitIconDraw then
3838+
Spring.SetUnitIconDraw(unitID, false)
3839+
end
38373840
end
38383841
end
38393842

Objects3d/sphere_down.s3o

101 KB
Binary file not shown.

units/terraunit.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ return { terraunit = {
3131
maxSlope = 255,
3232
metalCost = 100000,
3333
minCloakDistance = 0,
34-
objectName = [[sphere.s3o]],
34+
objectName = [[sphere_down.s3o]],
3535
reclaimable = false,
3636
script = [[terraunit.lua]],
3737
selfDestructAs = [[NOWEAPON]],

0 commit comments

Comments
 (0)