Update leenkx/Sources/leenkx/trait/physics/bullet/PhysicsWorld.hx

This commit is contained in:
Onek8 2025-04-10 22:22:46 +00:00
parent d69e3438ff
commit 1944fc97b8

View File

@ -530,8 +530,7 @@ class PhysicsWorld extends Trait {
} }
#if js #if js
var drawer = world.getDebugDrawer(); return world.getDebugDrawer().getDebugMode();
if (drawer != null) drawer.setDebugMode(debugDrawMode);
#elseif hl #elseif hl
return hlDebugDrawer_getDebugMode(); return hlDebugDrawer_getDebugMode();
#else #else