X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Fweapons%2Fconfig.qc;h=d932224e3a8bae0e990604ec19ed47410e05b517;hb=a8cc9eb71b0d0e44e9a968a9cf5554f6226cc838;hp=b90c01f4a65abd6e300485335c03fa2bd74e32ed;hpb=737346fcfbe5912ff5de24c2f22c0dbd894429a6;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/weapons/config.qc b/qcsrc/common/weapons/config.qc index b90c01f4a..d932224e3 100644 --- a/qcsrc/common/weapons/config.qc +++ b/qcsrc/common/weapons/config.qc @@ -35,7 +35,8 @@ void Dump_Weapon_Settings(void) { wep_config_queue[x] = string_null; } // step 2: build new queue - WEP_ACTION(i, WR_CONFIG); + Weapon w = get_weaponinfo(i); + w.wr_config(w); // step 3: sort queue heapsort(WEP_CONFIG_COUNT, W_Config_Queue_Swap, W_Config_Queue_Compare, world);