Skip to content

Commit

Permalink
Merge pull request #212 from DCSFlightpanels/commondata-fix
Browse files Browse the repository at this point in the history
CommonData : Global vars made local
  • Loading branch information
WarLord211 authored Sep 11, 2023
2 parents 295549f + d338f16 commit aebd878
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Scripts/DCS-BIOS/lib/CommonData.lua
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ moduleBeingDefined.exportHooks[#moduleBeingDefined.exportHooks+1] = function()

local gload = LoGetGLoad() or 0

if math.abs(gload) > 10 then _gLoad = string.format(" %2d ", gload)
else _gLoad = string.format("%4.1f", gload) end
if math.abs(gload) > 10 then gLoad = string.format(" %2d ", gload)
else gLoad = string.format("%4.1f", gload) end

local selfData = LoGetSelfData()
if selfData == nil then return end
Expand Down

0 comments on commit aebd878

Please sign in to comment.