X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fmenu%2Fmenu.qc;h=d01f6f7d4d0d2f986a288f1de66b2948219ba777;hb=bcadfbac06557383ee6d266bb92331d6fb1e9599;hp=669e08fe726dbed788ad2cd7e363d4a31e4edb9f;hpb=b24dabd36554f22b7b62525fe58c5022584461f5;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/menu/menu.qc b/qcsrc/menu/menu.qc index 669e08fe7..d01f6f7d4 100644 --- a/qcsrc/menu/menu.qc +++ b/qcsrc/menu/menu.qc @@ -2,8 +2,10 @@ #include "oo/classes.qc" #include "xonotic/util.qh" -#include "../common/weapons/weapons.qh" +#include "../common/items/all.qh" +#include "../common/weapons/all.qh" #include "../common/mapinfo.qh" +#include "../common/mutators/base.qh" /////////////////////////////////////////////// // Menu Source File @@ -79,8 +81,7 @@ void m_init() } // needs to be done so early because of the constants they create - CALL_ACCUMULATED_FUNCTION(RegisterWeapons); - CALL_ACCUMULATED_FUNCTION(RegisterGametypes); + static_init(); RegisterSLCategories();