diff --git a/src/egs_game.erl b/src/egs_game.erl index e8961e6..d77f08f 100644 --- a/src/egs_game.erl +++ b/src/egs_game.erl @@ -84,7 +84,7 @@ process_handle(16#020d, CSocket, Version, Packet) -> case User#users.auth of Auth -> log(GID, "good auth, proceed"), - LID = egs_db:next(lobby), + LID = egs_db:next(lobby) rem 1024, Time = calendar:datetime_to_gregorian_seconds(calendar:universal_time()), egs_db:users_insert(#users{gid=GID, pid=self(), socket=CSocket, auth=success, time=Time, folder=User#users.folder, lid=LID}), egs_proto:send_flags(CSocket, GID),