You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
env.info("BUG REPORT")
local function checkIsExist(Name)
local static = StaticObject.getByName(Name)
if static:isExist() == false then
env.info("BUG REPORT: "..Name.." does not exist (but getByName() works)")
else
env.info("BUG REPORT: "..Name.." returns true for both getByName() and isExist()")
end
end
env.info("BUG REPORT: trying a techcombine")
checkIsExist('techCombine')--returns true
env.info("BUG REPORT: trying a cargo barrel")
checkIsExist('Barrels')--returns true
env.info("BUG REPORT: trying an animal")
checkIsExist('cow')--returns true
env.info("BUG REPORT: trying a farp")
checkIsExist('farp')--returns true
env.info("BUG REPORT: trying an oilrig")
checkIsExist('oilrig')--returns true
Now returns correctly in 2.5.6
Continuing testing to see if there are more changes and adapt script as required.
The text was updated successfully, but these errors were encountered:
env.info("BUG REPORT")
local function checkIsExist(Name)
local static = StaticObject.getByName(Name)
if static:isExist() == false then
env.info("BUG REPORT: "..Name.." does not exist (but getByName() works)")
else
env.info("BUG REPORT: "..Name.." returns true for both getByName() and isExist()")
end
end
env.info("BUG REPORT: trying a techcombine")
checkIsExist('techCombine')--returns true
env.info("BUG REPORT: trying a cargo barrel")
checkIsExist('Barrels')--returns true
env.info("BUG REPORT: trying an animal")
checkIsExist('cow')--returns true
env.info("BUG REPORT: trying a farp")
checkIsExist('farp')--returns true
env.info("BUG REPORT: trying an oilrig")
checkIsExist('oilrig')--returns true
Now returns correctly in 2.5.6
Continuing testing to see if there are more changes and adapt script as required.
The text was updated successfully, but these errors were encountered: