Lua:Pairs safe

Lua:Pairs safe

From BeamNG

safe table iteration function.

File location: lua\utils.lua:585

Syntax

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