Attempting to read from or write to a var that is not defined on /world should throw a runtime error, instead writing fails silently and reading returns null.
Numbered Steps to Reproduce Problem:
Run this project: https://github.com/DamianX/byondbugs/raw/main/worldvars/ worldvars.zip
Code Snippet (if applicable) to Reproduce Problem:
/world/New()
..()
world:icon = 1 // Should throw a runtime error, icon does not exist on world
world.log << isnull(world:icon) // outputs null, should throw instead
Expected Results:
Runtime errors.
Actual Results:
Nothing at all.
Does the problem occur:
Every time? Or how often? Every time.
In other games? Yes.
In other user accounts? Yes.
On other computers? Yes.
When does the problem NOT occur?
Don't know.
Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? (Visit http://www.byond.com/download/build to download old versions for testing.)
Don't know.