Noita-Together / noita-together

Play alone together
MIT License
49 stars 15 forks source link

Refactor lua dofiles in init #101

Closed tehkab closed 11 months ago

tehkab commented 11 months ago

A few init.lua (mostly) changes that fix some spooky lua errors in the game log:

The whole lua context (if that's the proper term for it) is kinda a mess with dofile's all over the place. Probably a lot of redundant function re-definitions that dont need to happen. The whole thing could use some cleanup but these particular ones were some low-hanging squeaky-wheel fruit 😄