Custom maps now crash after loading
Application has crashed: C++ exception
...ary Armour Skins/hooks/extra_skin_hooks/weapon_skins.lua:43: bad argument #1 to 'pairs' (table expected, got string)
SCRIPT STACK
func() @assets/mod_overrides/Legendary Armour Skins/hooks/extra_skin_hooks/weapon_skins.lua:43
_init_pd2() @mods/base/req/core/Hooks.lua:268
init() lib/tweak_data/tweakdata.lua:719
new() core/lib/utils/coreclass.lua:35
lib/tweak_data/tweakdata.lua:3636
require() =[C]
OrigRequire() @mods/base/base.lua:193
require() @mods/BeardLib/Core.lua:419
lib/setups/setup.lua:45
require() =[C]
OrigRequire() @mods/base/base.lua:193
require() @mods/BeardLib/Core.lua:419
lib/setups/menusetup.lua:1
require() =[C]
OrigRequire() @mods/base/base.lua:193
require() @mods/BeardLib/Core.lua:419
lib/entry.lua:13
require() =[C]
OrigRequire() @mods/base/base.lua:193
require() @mods/BeardLib/Core.lua:419
core/lib/coreentry.lua:19
-------------------------------
Callstack:
payday2_win32_release (???) ???
payday2_win32_release (???) ???
payday2_win32_release (???) ???
KERNEL32 (???) BaseThreadInitThunk
ntdll (???) RtlGetAppContainerNamedObjectPath
ntdll (???) RtlGetAppContainerNamedObjectPath
-------------------------------
Current thread: Main
Script stack:
func() @assets/mod_overrides/Legendary
Armour
Skins/hooks/extra_skin_hooks/weapon_skins.lua:43 _init_pd2()
@mods/base/req/core/Hooks.lua:268 init()
lib/tweak_data/tweakdata.lua:719 new()
core/lib/utils/coreclass.lua:35
lib/tweak_data/tweakdata.lua:3636 require()
=[C]
OrigRequire()
@mods/base/base.lua:193 require()
@mods/BeardLib/Core.lua:419
lib/setups/setup.lua:45 require()
=[C] OrigRequire()
@mods/base/base.lua:193 require()
@mods/BeardLib/Core.lua:419
lib/setups/menusetup.lua:1 require()
=[C]
OrigRequire()
@mods/base/base.lua:193 require()
@mods/BeardLib/Core.lua:419
lib/entry.lua:13 require()
=[C] OrigRequire()
@mods/base/base.lua:193 require()
@mods/BeardLib/Core.lua:419
core/lib/coreentry.lua:19
-------------------------------
Replies