From: drjaska Date: Fri, 5 Mar 2021 22:46:48 +0000 (+0200) Subject: sv_lms.qc had boolean autocvar_g_lms_regeneration at the top which I X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=ddbdcbc61ed78e3a267b03fa07958d7a3a3626d8;p=xonotic%2Fxonotic-data.pk3dir.git sv_lms.qc had boolean autocvar_g_lms_regeneration at the top which I didn't notice when I copied the PlayerRegen hook. It still didn't create a cvar, FilterItem is broken idk why, SetWeaponArena is brokem idk why, autocvar does nothing idk why. I don't understand what disables fall damage and self damage in CA, still missing a new icon for mayhem. None of the existing maps allow mayhem as mayhem isn't listed in their pre-generated mapinfos, idk how to regenerate them so mayhem can actually be played on proper maps. I can't figure out why nothing works pls send help... likely going to drop further development unless I get help. --- diff --git a/qcsrc/common/gamemodes/gamemode/mayhem/sv_mayhem.qc b/qcsrc/common/gamemodes/gamemode/mayhem/sv_mayhem.qc index e86c58a8e..7b443af5f 100644 --- a/qcsrc/common/gamemodes/gamemode/mayhem/sv_mayhem.qc +++ b/qcsrc/common/gamemodes/gamemode/mayhem/sv_mayhem.qc @@ -1,5 +1,7 @@ #include "sv_mayhem.qh" +bool autocvar_g_mayhem_regenerate; + MUTATOR_HOOKFUNCTION(mayhem, Scores_CountFragsRemaining) { // announce remaining frags