From 9b8e4169c3e2e2b7dc86155d583f6d5aa740dc1d Mon Sep 17 00:00:00 2001 From: Jakob MG Date: Fri, 17 Aug 2012 17:31:24 +0200 Subject: [PATCH] Fix mutator_superspec supressing other cmds --- qcsrc/server/mutators/mutator_superspec.qc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/qcsrc/server/mutators/mutator_superspec.qc b/qcsrc/server/mutators/mutator_superspec.qc index 1666ac1da..2adef63df 100644 --- a/qcsrc/server/mutators/mutator_superspec.qc +++ b/qcsrc/server/mutators/mutator_superspec.qc @@ -14,7 +14,7 @@ MUTATOR_HOOKFUNCTION(superspec_SV_ParseClientCommand) return FALSE; if(self.classname == "player") - return TRUE; + return FALSE; if(cmd_name == "followpowerup") { @@ -24,6 +24,7 @@ MUTATOR_HOOKFUNCTION(superspec_SV_ParseClientCommand) if(_player.strength_finished > time || _player.invincible_finished > time) return _spectate(_player); } + centerprint(self, "No active powerups\n"); return TRUE; } @@ -36,6 +37,7 @@ MUTATOR_HOOKFUNCTION(superspec_SV_ParseClientCommand) if(_player.strength_finished > time) return _spectate(_player); } + centerprint(self, "No active Strength\n"); return TRUE; } @@ -48,6 +50,7 @@ MUTATOR_HOOKFUNCTION(superspec_SV_ParseClientCommand) if(_player.invincible_finished > time) return _spectate(_player); } + centerprint(self, "No active Shield\n"); return TRUE; } @@ -74,7 +77,7 @@ MUTATOR_HOOKFUNCTION(superspec_SV_ParseClientCommand) return _spectate(_player); } - centerprint(self, "No active FC\n"); + centerprint(self, "No active flag carrier\n"); return TRUE; } -- 2.39.2