Cleaning
This commit is contained in:
@@ -14,11 +14,11 @@ function accessorFunc(tbl, varName, name, defaultValue)
|
||||
end
|
||||
end
|
||||
|
||||
function rotateAround(entity, pivot, angles)
|
||||
function rotateAround(entity, pivot, angles)
|
||||
local pos = entity:getPos()
|
||||
local localPivotPos = entity:worldToLocal(pivot)
|
||||
|
||||
entity:setAngles(angles)
|
||||
pos = pos + (pivot - entity:localToWorld(localPivotPos))
|
||||
pos = pos + (pivot - entity:localToWorld(localPivotPos))
|
||||
entity:setPos(pos)
|
||||
end
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
WORKERS = {}
|
||||
WORKERS_QUOTA = 0.5
|
||||
WORKERS_QUOTA = 0.4
|
||||
|
||||
local function execWorker(worker)
|
||||
local status
|
||||
|
||||
Reference in New Issue
Block a user