"tyranic" throws 'nil variable' error

When I try this example file I get an error at runtime, this fixes the problem.