From: Mario Date: Tue, 21 Feb 2017 12:11:22 +0000 (+1000) Subject: Unhardcode reference to mega erebus X-Git-Tag: xonotic-v0.8.2~187 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=6368eece76ac6b4a25322155a3eb5aaf0ebe4a53;p=xonotic%2Fxonotic-data.pk3dir.git Unhardcode reference to mega erebus --- diff --git a/qcsrc/server/client.qh b/qcsrc/server/client.qh index c2317aff0..37e5eeb94 100644 --- a/qcsrc/server/client.qh +++ b/qcsrc/server/client.qh @@ -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)