panhui 7 years ago
parent
commit
fedd09877e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/pages/roomInfo.dart

+ 1 - 1
lib/pages/roomInfo.dart

@@ -506,7 +506,7 @@ class RoomInfoState extends State<RoomInfo>
                           ),
                           Text(
                             (houseInfo != null
-                                    ? houseInfo.playerNumber.toString()
+                                    ? (houseInfo.playerNumber??0).toString()
                                     : '0') +
                                 '/' +
                                 (houseInfo != null