Quantcast
Channel: Recent Discussions — Photon Engine
Viewing all articles
Browse latest Browse all 15755

Why is EmptyRoomTtl commented? I Need it!

$
0
0
I want to set EmptyRoomTtl to 0 when PlayerTtl is not 0 in creating game. but RoomOptions.EmptyRoomTtl is commented in LoadbalancingPeer.cs line ~1341.
In other place, i saw this:

if (roomOptions.PlayerTtl > 0 || roomOptions.PlayerTtl == -1)
{
op[ParameterCode.CheckUserOnJoin] = true;
op[ParameterCode.PlayerTTL] = roomOptions.PlayerTtl;
op[ParameterCode.EmptyRoomTTL] = roomOptions.PlayerTtl; //Oops, this line is all my problem!!!!!
}

Viewing all articles
Browse latest Browse all 15755

Trending Articles