]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/server/mutators/loader.qc
Properly support team field on trigger_multiple
[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     Gametype g = MapInfo_CurrentGametype();
8     if (g) {
9         for (string _s = g.m_mutators; _s != ""; _s = cdr(_s)) {
10             string s = car(_s);
11             FOREACH(Mutators, it.m_name == s, { Mutator_Add(it); break; });
12         }
13     }
14 }