]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/common/triggers/trigger/gamestart.qc
Merge branch 'master' into terencehill/menu_listbox_changes
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / triggers / trigger / gamestart.qc
1 #ifdef SVQC
2 void gamestart_use()
3 {
4         activator = self;
5         SUB_UseTargets();
6         remove(self);
7 }
8
9 void spawnfunc_trigger_gamestart()
10 {
11         self.use = gamestart_use;
12         self.reset2 = spawnfunc_trigger_gamestart;
13
14         if(self.wait)
15         {
16                 self.think = self.use;
17                 self.nextthink = game_starttime + self.wait;
18         }
19         else
20                 InitializeEntity(self, gamestart_use, INITPRIO_FINDTARGET);
21 }
22 #endif