3 Years Ago
Additional check for TableInherit function (#1830) If you write argument in base entity like a string and then overwrite it like table you will catch error like [ERROR] lua/includes/modules/scripted_ents.lua:25: bad argument #1 to 'pairs' (table expected, got string) 1. pairs - [C]:-1 2. TableInherit - lua/includes/modules/scripted_ents.lua:25 3. TableInherit - lua/includes/modules/scripted_ents.lua:30 4. Get - lua/includes/modules/scripted_ents.lua:184 5. unknown - lua/includes/modules/scripted_ents.lua:151