Connection ErrorBad RequestThis page went staleSession ExpiredSign in requiredForbiddenNot FoundToo Many RequestsServer ErrorBad GatewayService UnavailableGateway TimeoutHTTP Version Not Supported
Session Expired
Your session has expired. Please log in to continue.
Sign in required
You need an account to do that. Sign in or create one — it only takes a minute.
This page went stale
Your security token was rejected, usually because the page sat open too long or you signed in elsewhere. Nothing was saved. Reload the page and try again.
Request Failed
We encountered an issue while processing your request.
Please check your internet connection and try again.
I realized that I don't understand something about how IsObjectExists works.
```
function P0_check()
while 1 do
if IsObjectExists('T1')==false then
if IsObjectExists('T2')==false then
if IsObjectExists('T3')==false then
if IsObjectExists('T4')==false then
sleep(5)
if (not GetObjectiveState('P0')==OBJECTIVE_COMPLETED) then
startThread( P0_change_state );
break;
end;
end;
end;
end;
end;
sleep(1);
end;
end;
```
All four towns (T1, T2, T3, T4) are present on the map.
The thread happily goes through all the if statements and starts a new function, even though it shouldn't. How is this possible?