Skip to content

Commit

Permalink
[gui_attackrange_gl4] Fix range indicator for onoff units (#2565)
Browse files Browse the repository at this point in the history
  • Loading branch information
Swordelf2 authored Jan 30, 2024
1 parent 7bf606d commit ee52cc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion luaui/Widgets/gui_attackrange_gl4.lua
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ for udid, ud in pairs(UnitDefs) do
unitWeapons[udid] = ud.weapons
unitMaxWeaponRange[udid] = ud.maxWeaponRange
unitOnOffable[udid] = ud.onOffable
if ud.customParams.onOffName then
if ud.customParams.onoffname then
unitOnOffName[udid] = ud.customParams.onoffname
end
end
Expand Down

0 comments on commit ee52cc5

Please sign in to comment.