ID:2698638
 
Resolved
The compiler did not produce an error when trying to use the particles var for image objects.
BYOND Version:514.1557
Operating System:Windows 10 Home 64-bit
Web Browser:Chrome 91.0.4472.124
Applies to:Dream Maker
Status: Resolved (514.1562)

This issue has been resolved.
Descriptive Problem Summary:
When trying to assign a new particle to an image, will work with no fail
When trying to do an isnull() on this same var it runtimes as an undefined variable.
Checking .vars shows us that there is apparently no particles var

Numbered Steps to Reproduce Problem:
1. Run code snippet
2. Cry

Code Snippet (if applicable) to Reproduce Problem:
    var/image/img = image("test")
for(var/v in img.vars)
world.log << v
img.particles = new /particles
world.log << isnull(img.particles)


Expected Results:
It outputs 0 or does not compile

Actual Results:
it compiles and outputs a runtime

Does the problem occur:
Every time? Or how often? yes
In other games? yes
In other user accounts? yes
On other computers? yes

When does the problem NOT occur?
When you dont do it

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.)
Replicated on 1557 and 1545

Workarounds:


Lummox JR resolved issue with message:
The compiler did not produce an error when trying to use the particles var for image objects.