Here is my AS3 Lobby.as code:
- Code: Select all
if (PlayerCount >= 4)
{
//Visible = false;
RoomData["closed"] = "yes";
RoomData.Save();
}
Here is my C# code:
- Code: Select all
if (PlayerCount >= 4)
{
//Visible = false;
RoomData["closed"] = "yes";
RoomData.Save();
}
....
gameStarted = true;
//Visible = false;
RoomData["closed"] = "yes";
RoomData.Save();
Broadcast("startGame");
Whenever I run a trace of "closed" from AS3, it always returns 'no'. Is this a bug or am I missing something?