]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/mutators/loader.qc
Transifex autosync
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / mutators / loader.qc
index 1784e72ecdeecc42e1e1f2052524fb68907ecc92..8913e7f24638316d084d7e82f73d95910eedf400 100644 (file)
@@ -1,11 +1,16 @@
 #include "loader.qh"
 
+#include <common/mapinfo.qh>
+#include <common/mutators/base.qh>
+#include <common/stats.qh>
+#include <common/weapons/_all.qh>
+
 STATIC_INIT_LATE(Gametype) {
     Gametype g = MapInfo_CurrentGametype();
     if (g) {
         for (string _s = g.m_mutators; _s != ""; _s = cdr(_s)) {
             string s = car(_s);
-            FOREACH(Mutators, it.m_name == s, LAMBDA(Mutator_Add(it); break));
+            FOREACH(Mutators, it.m_name == s, { Mutator_Add(it); break; });
         }
     }
 }