]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/g_triggers.qc
Merge remote branch 'origin/master' into fruitiex/fruitbalance
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / g_triggers.qc
index cc2e32fd1b4155dcce98424ce3ed56f25cae5179..a1ee74d4300439589790a925384997779f6c7de0 100644 (file)
@@ -1998,7 +1998,7 @@ void spawnfunc_relay_activatetoggle()
 }
 
 .string chmap, gametype;
-void spawnfunc_target_changelevel()
+void spawnfunc_target_changelevel_use()
 {
        if(self.gametype != "")
                MapInfo_SwitchGameType(MapInfo_Type_FromString(self.gametype));
@@ -2008,3 +2008,8 @@ void spawnfunc_target_changelevel()
        else
                localcmd(strcat("changelevel ", self.chmap, "\n"));
 };
+
+void spawnfunc_target_changelevel()
+{
+       self.use = spawnfunc_target_changelevel_use;
+};