]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Partially replicate old behaviour with waypoint link saving
authorMario <mario@smbclan.net>
Tue, 26 Jul 2016 21:24:14 +0000 (07:24 +1000)
committerMario <mario@smbclan.net>
Tue, 26 Jul 2016 21:24:14 +0000 (07:24 +1000)
qcsrc/server/bot/bot.qc

index 5fff8361f373a9ff8d076a4947e1ff427c884873..8eb0b7f1aaed3704b0f7bb5d186bcb5f86281e1b 100644 (file)
@@ -673,6 +673,7 @@ void bot_serverframe()
                        FOREACH_ENTITY_CLASS("waypoint", time - it.nextthink > 10,
                        {
                                waypoint_save_links();
+                               break;
                        });
                }
        }