Skip to content

Commit

Permalink
每一局的开始更新房间创建时间
Browse files Browse the repository at this point in the history
  • Loading branch information
ainilili committed Jul 19, 2021
1 parent bfd3e7e commit c35acba
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ public void call(ClientSide clientSide, String data) {

// Push start game messages
room.setStatus(RoomStatus.STARTING);
room.setCreateTime(System.currentTimeMillis());
room.setLastFlushTime(System.currentTimeMillis());

// Record the first speaker
room.setFirstSellClient(startGrabClient.getId());
Expand Down

0 comments on commit c35acba

Please sign in to comment.