always assign a random invite ID

This commit is contained in:
Eric House 2015-07-11 14:35:48 -07:00
parent 93d2ef959c
commit d26ae4a1b0

View file

@ -79,6 +79,8 @@ public class NetLaunchInfo {
public NetLaunchInfo() public NetLaunchInfo()
{ {
m_addrs = new CommsConnTypeSet(); m_addrs = new CommsConnTypeSet();
// Give it a random number. It may be overwritten, but so what.
inviteID = GameUtils.formatGameID( Utils.nextRandomInt() );
} }
public NetLaunchInfo( Context context, String data ) public NetLaunchInfo( Context context, String data )