Fixing a bug

This commit is contained in:
Vishal 2024-04-26 03:40:28 +05:30 committed by GitHub
parent c6da4313e0
commit da878bf0d9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View file

@ -716,6 +716,7 @@
}
],
"versions": {
"1.0.2": null,
"1.0.1": {
"api_version": 8,
"commit_sha": "2b5c9ee",

View file

@ -267,7 +267,7 @@ class RailBullet(bs.Actor):
})
pos = (pos[0] + vel[0], pos[1] + vel[1], pos[2] + vel[2])
for node in _babase.getnodes():
for node in bs.getnodes():
if node and node.getnodetype() == 'spaz':
# pylint: disable=invalid-name
m3 = babase.Vec3(position)