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
for
Code:
/obj/item/assembly/health/process() if(!scanning || !secured) return var/atom/A = src if(connected && connected.holder) A = connected.holder for(A, A && !ismob(A), A=A.loc); // like get_turf(), but for mobs. var/mob/living/M = A if(M) health_scan = M.health if(health_scan <= alarm_health) pulse() audible_message("[bicon(src)] *beep* *beep*") toggle_scan() return return
Error: Unknown identifier "M" at if(M)
Unknown identifier "M"
if(M)
Commenting out the for loop fixes it. Presumably bodyless for loops aren't being handled properly.
The text was updated successfully, but these errors were encountered:
It's calling ProcStatement() which is pulling a following statement into the for body.
ProcStatement()
Needs an indentation check that it is actually part of the body.
Sorry, something went wrong.
Close due to #414 fixing this?
Yes, it's fixed now
No branches or pull requests
Code:
Error:
Unknown identifier "M"
atif(M)
Commenting out the
for
loop fixes it. Presumably bodyless for loops aren't being handled properly.The text was updated successfully, but these errors were encountered: