We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
var/list/L = list(null, null) var/depth = 1 L[depth-1] = ++depth world.log << json_encode(L)
This should give [2,null] but instead crashes in OD because it evaluates to L[0] = 2 instead of L[1] = 2. ++depth should execute before depth-1.
[2,null]
L[0] = 2
L[1] = 2
++depth
depth-1
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This should give
[2,null]
but instead crashes in OD because it evaluates toL[0] = 2
instead ofL[1] = 2
.++depth
should execute beforedepth-1
.The text was updated successfully, but these errors were encountered: