mirror of
https://github.com/jimathy/jim_bridge.git
synced 2026-11-20 03:18:33 +00:00
Tidy up and organise several debugPrints better
This commit is contained in:
1 parent
9fbf2f2211
commit
4da4cbfc15
8 files changed
+63
-45
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user