Variable conditions are not met

The value of variable User_id and variable Auto_disconnected are the same.

The conditions are as follows: When variable Auto_disconnected is not equal to variable User_id, only then execution should be triggered.

But now the function is executed even if the variables have the same values or text.
And this error appears only if (the message or text) is a response from the server.

Note: The variable Auto_disconnected returns the user ID from the room. If there is no such user in the room, it returns 0, and only then the function should be triggered and close the scene.

I think it’s a delay issue.
Your change-scene event is already executed before the value is loaded from the server. It compares 45 with 0.

1 Like