|
|
@@ -73,10 +73,10 @@ class RoomInfoState extends State<RoomInfo>
|
|
|
Result res = await HttpManager.get("houseInfo/getPlayerNum",
|
|
|
data: {"id": widget.roomId});
|
|
|
if (res.success) {
|
|
|
- // if (houseInfo.statusFlag == 0 && res.data["statusFlag"] == 2) {
|
|
|
- // showStart();
|
|
|
- // timer.cancel();
|
|
|
- // }
|
|
|
+ if (houseInfo.statusFlag == 0 && res.data["statusFlag"] == 2) {
|
|
|
+ showStart();
|
|
|
+ // timer.cancel();
|
|
|
+ }
|
|
|
setState(() {
|
|
|
houseInfo.playerNumber = res.data["playerNumber"];
|
|
|
houseInfo.statusFlag = res.data["statusFlag"];
|