Lua:Ipairs safe

Lua:Ipairs safe

From BeamNG

safe table iteration function.

File location: lua\utils.lua:568

Syntax

-- safe table iteration functions: it will iterate the tables via a copy: "adding" to the tables will not change the iteration
obj ipairs_safe (table t)