* Fixed that the storm counter was no shown on the game panel.

This commit is contained in:
LevelX2 2016-03-06 02:06:10 +01:00
parent dd9431c8ea
commit e29c4c3516
2 changed files with 3 additions and 3 deletions

View file

@ -195,7 +195,7 @@ public class GameView implements Serializable {
this.special = false;
}
CastSpellLastTurnWatcher watcher = (CastSpellLastTurnWatcher) game.getState().getWatchers().get("CastSpellLastTurnWatcher");
CastSpellLastTurnWatcher watcher = (CastSpellLastTurnWatcher) game.getState().getWatchers().get(CastSpellLastTurnWatcher.class.getName());
if (watcher != null) {
spellsCastCurrentTurn = watcher.getAmountOfSpellsAllPlayersCastOnCurrentTurn();
} else {