()
| 86 | } |
| 87 | |
| 88 | @Override |
| 89 | public void run() |
| 90 | { |
| 91 | String[] gameFiles = GameModeFileLoader.getGameFilesList(); |
| 92 | if ((gameFiles != null) && (gameFiles.length > 0)) |
| 93 | { |
| 94 | setMaximum(gameFiles.length + 1); |
| 95 | loadGameModes(gameFiles); |
| 96 | } |
| 97 | } |
| 98 | |
| 99 | /** |
| 100 | * Get a list of all the directories in system/gameModes/ |