about summary refs log tree commit diff
path: root/src/game/server/hooks.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/server/hooks.cpp')
-rw-r--r--src/game/server/hooks.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/server/hooks.cpp b/src/game/server/hooks.cpp
index dd2d9db9..f3d35026 100644
--- a/src/game/server/hooks.cpp
+++ b/src/game/server/hooks.cpp
@@ -359,7 +359,7 @@ void mods_init()
 		{
 			mods_connected(MAX_CLIENTS-i-1);
 			mods_client_enter(MAX_CLIENTS-i-1);
-			if(game.controller->is_teamplay)
+			if(game.controller->is_teamplay())
 				game.players[MAX_CLIENTS-i-1].team = i&1;
 		}
 	}