SF assertion odd error pathway from Starfall_screen cl_init
awilliamson opened this issue · 0 comments
awilliamson commented
In starfall_screen's cl_init, we have an assertion after the sflib include.
include( "starfall/SFLib.lua" )
assert( SF, "Starfall didn't load correctly!" )
I'm currently refactoring some tools that spawn the ents. Spawned a processor, and the error it gave was line 6 for cl_init on the screen! I presume because SF was malformed or some such due to a failure in SFLib.
I understand this will be hard to debug, especially without reproducible code. In my efforts to fix the bugs I'm having with this 'refactored' feature I may discover the root cause. As the prints done when libraries and core are loaded seem fine, and 0 lua errors are occurring before spawning.