E2 SV Startup error
Closed this issue · 2 comments
wrefgtzweve commented
[wire] Error(s) occured while executing 'postinit' hook:
addons/wire/lua/entities/gmod_wire_expression2/core/init.lua:90: attempt to call upvalue 'callback' (a nil value)
1. error - [C]:-1
2. wire_expression2_CallHook - addons/wire/lua/entities/gmod_wire_expression2/core/init.lua:83
3. unknown - addons/wire/lua/entities/gmod_wire_expression2/core/extloader.lua:183
4. include - [C]:-1
5. unknown - addons/wire/lua/entities/gmod_wire_expression2/core/init.lua:282
6. include - [C]:-1
7. unknown - addons/wire/lua/entities/gmod_wire_expression2/shared.lua:24
8. include - [C]:-1
9. unknown - addons/wire/lua/entities/gmod_wire_expression2/init.lua:3
Getting this error whenever i load into a p2p game
Vurv78 commented
Something is calling E2Lib.registerCallback
with nil as a callback. Could throw an assert to ensure they pass a callback to it. This might seem new since registerCallback now wraps the callback with another function instead of using it directly
Vurv78 commented
Can reopen if you get a trace from wiremod from this assert