Fixed RoomDataComposer to send correct room score

This commit is contained in:
Snaiker 2022-03-20 20:34:44 +00:00 committed by Remco
parent f6ef24092a
commit e7bde3cbee

View File

@ -39,8 +39,8 @@ public class RoomDataComposer extends MessageComposer {
this.response.appendInt(this.room.getUsersMax()); this.response.appendInt(this.room.getUsersMax());
this.response.appendString(this.room.getDescription()); this.response.appendString(this.room.getDescription());
this.response.appendInt(this.room.getTradeMode()); this.response.appendInt(this.room.getTradeMode());
this.response.appendInt(2);
this.response.appendInt(this.room.getScore()); this.response.appendInt(this.room.getScore());
this.response.appendInt(2);//Top rated room rank
this.response.appendInt(this.room.getCategory()); this.response.appendInt(this.room.getCategory());
if (!this.room.getTags().isEmpty()) { if (!this.room.getTags().isEmpty()) {