Avoid loading hud skin list on menu start 263/head
authorterencehill <piuntn@gmail.com>
Thu, 24 Dec 2015 00:57:26 +0000 (01:57 +0100)
committerterencehill <piuntn@gmail.com>
Thu, 24 Dec 2015 00:57:26 +0000 (01:57 +0100)
qcsrc/menu/xonotic/hudskinlist.qc

index 736ee0a6edbdd4ad1f920c0df176193076c64767..b3bdc624332ea2cec2991cc4aceece1e18066fc9 100644 (file)
@@ -56,7 +56,7 @@ entity makeXonoticHUDSkinList()
 void XonoticHUDSkinList_configureXonoticHUDSkinList(entity me)
 {
        me.configureXonoticListBox(me);
-       me.getHUDSkins(me);
+       me.nItems = 0;
 }
 
 const float HUDSKINPARM_NAME = 0;