From 9da8869e8e01bdbe0ae07f2b7173c07be0452583 Mon Sep 17 00:00:00 2001 From: terencehill Date: Thu, 3 Dec 2015 00:47:07 +0100 Subject: [PATCH] Avoid loading lists of demos, screenshots and music tracks when the menu starts, they are loaded when they get displayed anyway --- qcsrc/menu/xonotic/demolist.qc | 1 - qcsrc/menu/xonotic/screenshotlist.qc | 1 - qcsrc/menu/xonotic/soundlist.qc | 1 - 3 files changed, 3 deletions(-) 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 ) -- 2.39.2