Caching stuff

qqqbbb

Prince
Joined
Sep 25, 2010
Messages
530
These 2 code snippets do exactly the same thing, right?
Code:
local iValue = tTable[Key] or Modding.OpenSaveData().GetValue(Key)
Code:
local iValue = tTable[Key] 
if iValue == nil then 
    iValue = Modding.OpenSaveData().GetValue(Key)
end
 
Back
Top Bottom