summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/gdscript_analyzer.cpp
diff options
context:
space:
mode:
authorlawnjelly <lawnjelly@gmail.com>2024-02-28 08:24:32 +0000
committerlawnjelly <lawnjelly@gmail.com>2024-02-28 08:24:32 +0000
commit0b1266b8126cf4204637340d01e2a41dd4948f77 (patch)
treefc7947b86b459ab73132507e70f92b82623e0f94 /modules/gdscript/gdscript_analyzer.cpp
parentf77bc872114ebe77f1604db47b81016ff478ce17 (diff)
downloadredot-engine-0b1266b8126cf4204637340d01e2a41dd4948f77.tar.gz
Fix physics platform crash
Physics body previously stored the RID of a collision object and accessed it on the next frame, leading to a crash if the object had been deleted. This PR checks the object still exists via the ObjectID prior to access.
Diffstat (limited to 'modules/gdscript/gdscript_analyzer.cpp')
0 files changed, 0 insertions, 0 deletions