DATx02-16-14 / Hastings

A project evaluating Haste.App and the suitability of Haskell for the web.
BSD 3-Clause "New" or "Revised" License
4 stars 1 forks source link

Bug/delete only one player from game #79

Closed Kalior closed 8 years ago

Kalior commented 8 years ago

Makes sure that when kicking a player and when disconnecting that the server does not remove the wrong clients.

Disconnecting now checks the SessionID if the player should be removed.

Kicking now receives an index of the player to kick (ugly, but I couldn't figure out any better way to do this).

mattiasnilsen commented 8 years ago

Fix comments, otherwise it looks good.

Kalior commented 8 years ago

Latest commit fixes these comments.