mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-02-09 01:09:40 +08:00
Merge branch 'master' into pubsync
This commit is contained in:
commit
ec8b323537
@ -253,6 +253,7 @@ class SpazBot(basespaz.Spaz):
|
||||
# Otherwise try to go pick it up.
|
||||
else:
|
||||
assert self.target_flag.node
|
||||
if self.target_flag.node.exists():
|
||||
target_pt_raw = ba.Vec3(*self.target_flag.node.position)
|
||||
diff = (target_pt_raw - our_pos)
|
||||
diff = ba.Vec3(diff[0], 0, diff[2]) # Don't care about y.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user