]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/command/cmd.qc
Make pure more entities and don't link them into the world
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / command / cmd.qc
index 570b8e5fc0bfcf180cb2fb61526e3b025a624182..dd96a9c90930a36a7d4304ecbe6c49e71c60488b 100644 (file)
@@ -164,7 +164,7 @@ void ClientCommand_wpeditor(entity caller, int request, int argc)
        {
                case CMD_REQUEST_COMMAND:
                {
-                       if (!autocvar_g_waypointeditor)
+                       if (!waypointeditor_enabled)
                        {
                                sprint(caller, "ERROR: this command works only if the waypoint editor is on\n");
                                return;