]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix superspec bug that caused to see in the HUD you name instead of the auto-spectate...
authorterencehill <piuntn@gmail.com>
Sat, 15 Jun 2013 14:53:20 +0000 (16:53 +0200)
committerterencehill <piuntn@gmail.com>
Sat, 15 Jun 2013 14:53:20 +0000 (16:53 +0200)
qcsrc/server/mutators/mutator_superspec.qc

index 849d05772db0a2f0b186db9f7f1d731e114f277e..e5d2e8348606f5950182c89858a9fecd92a433be 100644 (file)
 float _spectate(entity _player)
 {
        if(Spectate(_player) == 1)
-       {
-               PutObserverInServer();
                self.classname = "spectator";
-       }
 
        return TRUE;
 }