gameServer/ServerCore.hs
changeset 2948 3f21a9dc93d0
parent 2867 9be6693c78cb
child 3425 ead2ed20dfd4
equal deleted inserted replaced
2947:803b277e4894 2948:3f21a9dc93d0
    58                 liftM firstAway $
    58                 liftM firstAway $
    59                     foldM processAction (0, serverInfo, clients, rooms) $
    59                     foldM processAction (0, serverInfo, clients, rooms) $
    60                         PingAll : [StatsAction | even tick]
    60                         PingAll : [StatsAction | even tick]
    61 
    61 
    62 
    62 
    63     {-			let hadRooms = (not $ null rooms) && (null mrooms)
    63     {-          let hadRooms = (not $ null rooms) && (null mrooms)
    64                     in unless ((not $ isDedicated serverInfo) && ((null clientsIn) || hadRooms)) $
    64                     in unless ((not $ isDedicated serverInfo) && ((null clientsIn) || hadRooms)) $
    65                         mainLoop serverInfo acceptChan messagesChan clientsIn mrooms -}
    65                         mainLoop serverInfo acceptChan messagesChan clientsIn mrooms -}
    66 
    66 
    67     mainLoop newServerInfo mClients mRooms
    67     mainLoop newServerInfo mClients mRooms
    68 
    68