antirez / load81

SDL based Lua programming environment for kids similar to Codea
BSD 2-Clause "Simplified" License
647 stars 64 forks source link

catch errors in setup() #42

Closed rlane closed 12 years ago

rlane commented 12 years ago

Previously draw() would be executed even if setup() failed, likely crashing the Lua program mysteriously.

antirez commented 12 years ago

Thanks, good catch.