Tidy up and organise several debugPrints better

This commit is contained in:
Jim Shield committed 2025-06-20 18:03:08 +01:00
1 parent 9fbf2f2211
commit 4da4cbfc15
8 files changed
+63 -45

No files matched your search

+2 -2
View File
@@ -54,14 +54,14 @@ function makeDistVehicle(data, radius, onEnter, onExit)
onEnter = function()
vehicle = makeVeh(data.model, data.coords)
if onEnter then
debugPrint("makeDistVehicle onEnter running")
debugPrint("^6Bridge^7: ^4makeDistVehicle ^3onEnter^7() ^2running^7")
onEnter(vehicle)
end
end,
onExit = function()
deleteVehicle(vehicle)
if onExit then
debugPrint("makeDistVehicle onExit running")
debugPrint("^6Bridge^7: ^4makeDistVehicle ^3onExit^7() ^2running^7")
onExit(vehicle)
end
end,