Finished ability picker. +even dispatching. +fixed bug in horizontal scrool bar.

This commit is contained in:
magenoxx 2011-07-16 12:17:22 +04:00
parent d25425e782
commit cc5a76e62b
7 changed files with 179 additions and 72 deletions

View file

@ -279,7 +279,7 @@ public class GameController implements GameCallback {
public void kill(UUID sessionId) {
if (sessionPlayerMap.containsKey(sessionId)) {
GameSession session = gameSessions.get(sessionPlayerMap.get(sessionId));
session.destroy();
if (session != null) session.destroy();
gameSessions.remove(sessionPlayerMap.get(sessionId));
leave(sessionId);
sessionPlayerMap.remove(sessionId);