mirror of
https://github.com/peter-tanner/spidertron-squad-control.git
synced 2024-11-30 19:10:18 +08:00
11 lines
213 B
Lua
11 lines
213 B
Lua
|
|
||
|
require("control.2dvec")
|
||
|
|
||
|
function UpdateFollowEntity()
|
||
|
local links = global.spidercontrol_linked_s
|
||
|
for i = 1, #links do
|
||
|
if (#links[i].s > 0) then
|
||
|
GotoEntity(i)
|
||
|
end
|
||
|
end
|
||
|
end
|