mirror of
https://github.com/jimathy/jim_bridge.git
synced 2026-08-16 21:46:03 +01:00
createPropTarget also makes the prop
This commit is contained in:
@@ -369,6 +369,11 @@ function createPropTarget(data, opts, dist)
|
|||||||
maxZ = coordAdjustment.z + (max.z) + 0.1,
|
maxZ = coordAdjustment.z + (max.z) + 0.1,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if data[3] then -- If spawning a prop, make entity target instead (ignores depth and width stuff)
|
||||||
|
makeDistProp({ prop = data[3], coords = data[2] }, true, false)
|
||||||
|
end
|
||||||
|
|
||||||
-- if force target off, use jim_bridge built in target functions
|
-- if force target off, use jim_bridge built in target functions
|
||||||
if Config.System.DontUseTarget then
|
if Config.System.DontUseTarget then
|
||||||
debugPrint("^6Bridge^7: ^2Creating new ^3Box ^2target with ^6jim_bridge ^7"..data[1])
|
debugPrint("^6Bridge^7: ^2Creating new ^3Box ^2target with ^6jim_bridge ^7"..data[1])
|
||||||
|
|||||||
Reference in New Issue
Block a user