gameServer/HWProtoCore.hs
changeset 2318 f3407513dc42
parent 2311 977ee15c3c1f
child 2706 935b7d618cf0
equal deleted inserted replaced
2317:30d19505b22a 2318:f3407513dc42
    57 		roomInfo = if roomID client /= 0 then roomMasterSign ++ "room " ++ (name room) else adminSign ++ "lobby"
    57 		roomInfo = if roomID client /= 0 then roomMasterSign ++ "room " ++ (name room) else adminSign ++ "lobby"
    58 		roomMasterSign = if isMaster client then "@" else ""
    58 		roomMasterSign = if isMaster client then "@" else ""
    59 		adminSign = if isAdministrator client then "@" else ""
    59 		adminSign = if isAdministrator client then "@" else ""
    60 		roomStatus =
    60 		roomStatus =
    61 			if gameinprogress room
    61 			if gameinprogress room
    62 			then if teamsInGame client > 0 then "(plays)" else "(spectates)"
    62 			then if teamsInGame client > 0 then "(playing)" else "(spectating)"
    63 			else ""
    63 			else ""
    64 
    64 
    65 
    65 
    66 handleCmd_loggedin clID clients rooms cmd =
    66 handleCmd_loggedin clID clients rooms cmd =
    67 	if roomID client == 0 then
    67 	if roomID client == 0 then