Merge pull request #269 from vishal332008/main

Bug Fix
This commit is contained in:
Vishal 2024-04-26 03:43:37 +05:30 committed by GitHub
commit ae5834d728
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 1 deletions

View file

@ -716,6 +716,12 @@
} }
], ],
"versions": { "versions": {
"1.0.2": {
"api_version": 8,
"commit_sha": "da878bf",
"released_on": "25-04-2024",
"md5sum": "bac58caf1703d8f2f8ac86821c489eef"
},
"1.0.1": { "1.0.1": {
"api_version": 8, "api_version": 8,
"commit_sha": "2b5c9ee", "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]) 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': if node and node.getnodetype() == 'spaz':
# pylint: disable=invalid-name # pylint: disable=invalid-name
m3 = babase.Vec3(position) m3 = babase.Vec3(position)