about summary refs log tree commit diff
path: root/src/game/server/gs_game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/server/gs_game.cpp')
-rw-r--r--src/game/server/gs_game.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/server/gs_game.cpp b/src/game/server/gs_game.cpp
index 833bad4a..c94a1417 100644
--- a/src/game/server/gs_game.cpp
+++ b/src/game/server/gs_game.cpp
@@ -70,7 +70,7 @@ bool gameobject::on_entity(int index, vec2 pos)
 		type = POWERUP_WEAPON;
 		subtype = WEAPON_RIFLE;
 	}
-	else if(index == ENTITY_POWERUP_NINJA)
+	else if(index == ENTITY_POWERUP_NINJA && config.sv_powerups)
 	{
 		type = POWERUP_NINJA;
 		subtype = WEAPON_NINJA;