INPStarfall / Starfall

Starfall Processor for Garry's Mod + Wiremod

Home Page:http://www.wiremod.com/forum/developers-showcase/22739-starfall-processor.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Timer error not helpful

Jazzelhawk opened this issue · comments

When running something like

timer.simple(1, function() foo() end ) -- foo does not exist

The error in the console comes out normally but the hint popup comes out as:
addons/starfall/lua/starfall/instance.lua:37: in function <addons/starfall/lua/starfall/instance.lua:36> [C]: in function 'xpcall'

but should look something like this:

SF:main:4: attempt to call global 'foo' (a nil value)

Sounds like a blame level too high to me.