diff options
Diffstat (limited to 'src/game/server/hooks.cpp')
| -rw-r--r-- | src/game/server/hooks.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game/server/hooks.cpp b/src/game/server/hooks.cpp index d557f99f..951e6e67 100644 --- a/src/game/server/hooks.cpp +++ b/src/game/server/hooks.cpp @@ -27,6 +27,10 @@ TUNING_PARAMS tuning; static void check_pure_tuning() { + // might not be created yet during start up + if(!game.controller) + return; + if( strcmp(game.controller->gametype, "DM")==0 || strcmp(game.controller->gametype, "TDM")==0 || strcmp(game.controller->gametype, "CTF")==0) |