From: terencehill Date: Sat, 15 Jun 2013 14:53:20 +0000 (+0200) Subject: Fix superspec bug that caused to see in the HUD you name instead of the auto-spectate... X-Git-Tag: xonotic-v0.8.0~355^2~2^2~1 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=c16b8ed5b3a2ed7943f6b8ae2a54d9fcb391c2d9;p=xonotic%2Fxonotic-data.pk3dir.git Fix superspec bug that caused to see in the HUD you name instead of the auto-spectated player name. This bug must be appeared when #define COMPAT_XON050_ENGINE was removed as for some reason COMPAT_XON050_ENGINE mode inhibits it --- diff --git a/qcsrc/server/mutators/mutator_superspec.qc b/qcsrc/server/mutators/mutator_superspec.qc index 849d05772..e5d2e8348 100644 --- a/qcsrc/server/mutators/mutator_superspec.qc +++ b/qcsrc/server/mutators/mutator_superspec.qc @@ -22,10 +22,7 @@ float _spectate(entity _player) { if(Spectate(_player) == 1) - { - PutObserverInServer(); self.classname = "spectator"; - } return TRUE; }