]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/server/mutators/loader.qc
take3: format 903 files
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / mutators / loader.qc
1 #include "loader.qh"
2
3 #include <server/defs.qh>
4 #include <server/miscfunctions.qh>
5
6 STATIC_INIT_LATE(Gametype)
7 {
8         Gametype g = MapInfo_CurrentGametype();
9         if (g) {
10                 for (string _s = g.m_mutators; _s != ""; _s = cdr(_s)) {
11                         string s = car(_s);
12                         FOREACH(Mutators, it.m_name == s, { Mutator_Add(it);
13                                                                                                 break;
14                                 });
15                 }
16         }
17 }