Closed daranable closed 12 years ago
Causes infinite loops when trying to get an entity from a wirelink, probably in other places as well.
Stack traceback taken from ops counter:
stack traceback:
addons\starfall\lua\starfall\libs_sh\ents.lua:37: in function <addons\starfall\lua\starfall\libs_sh\ents.lua:33>
(tail call): ?
(tail call): ?
(tail call): ?
(tail call): ?
(tail call): ?
(tail call): ?
(tail call): ?
(tail call): ?
(tail call): ?
...
addons\starfall\lua\starfall\instance.lua:56: in function 'runWithOps'
addons\starfall\lua\starfall\instance.lua:187: in function '(for generator)'
addons\starfall\lua\starfall\instance.lua:116: in function 'runScriptHook'
addons\starfall\lua\entities\gmod_wire_starfall_processor\init.lua:116: in function 'RunScriptHook'
addons\starfall\lua\entities\gmod_wire_starfall_processor\init.lua:103: in function <addons\starfall\lua\entities\gmod_wire_starfall_processor\init.lua:102>
[C]: in function 'pcall'
addons\wire\lua\wire\server\wirelib.lua:66: in function 'TriggerInput'
addons\wire\lua\wire\server\wirelib.lua:530: in function 'Wire_TriggerOutput'
addons\wire\lua\entities\gmod_wire_button\init.lua:131: in function 'Switch'
addons\wire\lua\entities\gmod_wire_button\init.lua:57: in function <addons\wire\lua\entities\gmod_wire_button\init.lua:45>```
I was unable to have the player API be in a seperate file due to the weird mixing of wrap functions required.