mirror of
https://github.com/jimathy/jim_bridge.git
synced 2026-08-17 05:56:02 +01:00
Quick tidy and optimizations of a few functions
This commit is contained in:
@@ -53,7 +53,10 @@ local polyCreation = {
|
||||
return zone
|
||||
end,
|
||||
createCircle = function(data)
|
||||
local zone = CircleZone:Create(data.coords, data.radius, { name = data.name, debugPoly = debugMode })
|
||||
local zone = CircleZone:Create(data.coords, data.radius, {
|
||||
name = data.name,
|
||||
debugPoly = data.debug
|
||||
})
|
||||
zone:onPlayerInOut(function(isPointInside)
|
||||
if isPointInside then
|
||||
data.onEnter()
|
||||
|
||||
Reference in New Issue
Block a user