]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/bot/default/navigation.qc
Fix bots missing the second teleport when path includes 2 consecutive teleports,...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / bot / default / navigation.qc
index 576c9d62c74bed4d80303ce0526060ee73f2fd8d..cfe4320f97486bde54d6e92b701fb1add80f4881 100644 (file)
@@ -1354,6 +1354,7 @@ int navigation_poptouchedgoals(entity this)
                                this.aistatus |= AI_STATUS_WAYPOINT_PERSONAL_REACHED;
                        }
                        navigation_poproute(this);
+                       this.lastteleporttime = 0;
                        ++removed_goals;
                }
                else