]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/server/mutators/loader.qc
Merge branch 'master' into terencehill/glowmod_color_fix
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / mutators / loader.qc
1 #include "loader.qh"
2
3 #include <common/mapinfo.qh>
4 #include <common/mutators/base.qh>
5 #include <common/stats.qh>
6 #include <common/weapons/_all.qh>
7
8 STATIC_INIT_LATE(Gametype) {
9     Gametype g = MapInfo_CurrentGametype();
10     if (g) {
11         for (string _s = g.m_mutators; _s != ""; _s = cdr(_s)) {
12             string s = car(_s);
13             FOREACH(Mutators, it.m_name == s, { Mutator_Add(it); break; });
14         }
15     }
16 }