From: terencehill Date: Wed, 2 Dec 2015 23:47:07 +0000 (+0100) Subject: Avoid loading lists of demos, screenshots and music tracks when the menu starts,... X-Git-Tag: xonotic-v0.8.2~1286^2~9 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=9da8869e8e01bdbe0ae07f2b7173c07be0452583;p=xonotic%2Fxonotic-data.pk3dir.git Avoid loading lists of demos, screenshots and music tracks when the menu starts, they are loaded when they get displayed anyway --- diff --git a/qcsrc/menu/xonotic/demolist.qc b/qcsrc/menu/xonotic/demolist.qc index 2459d7ca1..182f79873 100644 --- a/qcsrc/menu/xonotic/demolist.qc +++ b/qcsrc/menu/xonotic/demolist.qc @@ -48,7 +48,6 @@ entity makeXonoticDemoList() void XonoticDemoList_configureXonoticDemoList(entity me) { me.configureXonoticListBox(me); - me.getDemos(me); } string XonoticDemoList_demoName(entity me, float i) diff --git a/qcsrc/menu/xonotic/screenshotlist.qc b/qcsrc/menu/xonotic/screenshotlist.qc index 6655e8a62..39573d9d1 100644 --- a/qcsrc/menu/xonotic/screenshotlist.qc +++ b/qcsrc/menu/xonotic/screenshotlist.qc @@ -58,7 +58,6 @@ entity makeXonoticScreenshotList() void XonoticScreenshotList_configureXonoticScreenshotList(entity me) { me.configureXonoticListBox(me); - me.getScreenshots(me); } string XonoticScreenshotList_screenshotName(entity me, float i) diff --git a/qcsrc/menu/xonotic/soundlist.qc b/qcsrc/menu/xonotic/soundlist.qc index 159cd76c5..9cc26bf53 100644 --- a/qcsrc/menu/xonotic/soundlist.qc +++ b/qcsrc/menu/xonotic/soundlist.qc @@ -48,7 +48,6 @@ entity makeXonoticSoundList() void XonoticSoundList_configureXonoticSoundList(entity me) { me.configureXonoticListBox(me); - me.getSounds(me); } string XonoticSoundList_soundName(entity me, float i )