]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Unhardcode reference to mega erebus
authorMario <mario@smbclan.net>
Tue, 21 Feb 2017 12:11:22 +0000 (22:11 +1000)
committerMario <mario@smbclan.net>
Tue, 21 Feb 2017 12:11:22 +0000 (22:11 +1000)
qcsrc/server/client.qh

index c2317aff0280b46179c7bc52d3d79f95913eba7f..37e5eeb94d59bf8f8b7d05b184cb9de84298af15 100644 (file)
@@ -53,7 +53,7 @@ CLASS(Client, Object)
         CONSTRUCT(Client);
         this.netname = name;
         this.netaddress = "local";
-        this.playermodel = "models/player/megaerebus.iqm";
+        this.playermodel = cvar_defstring("sv_defaultplayermodel");
     }
 ENDCLASS(Client)