diff options
| -rw-r--r-- | src/game/server/hooks.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/game/server/hooks.cpp b/src/game/server/hooks.cpp index 3f8fce80..be68e8d9 100644 --- a/src/game/server/hooks.cpp +++ b/src/game/server/hooks.cpp @@ -492,7 +492,9 @@ void mods_init() //players = new PLAYER[MAX_CLIENTS]; // select gametype - if(strcmp(config.sv_gametype, "ctf") == 0) + if(strcmp(config.sv_gametype, "mod") == 0) + game.controller = new GAMECONTROLLER_MOD; + else if(strcmp(config.sv_gametype, "ctf") == 0) game.controller = new GAMECONTROLLER_CTF; else if(strcmp(config.sv_gametype, "tdm") == 0) game.controller = new GAMECONTROLLER_TDM; |