Indev450 / SRB2Kart-Saturn

GNU General Public License v2.0
26 stars 9 forks source link

Fix specbomb desynching Saturn users #24

Closed Indev450 closed 1 year ago

Indev450 commented 1 year ago

Original setter for player.spectator was using lua_toboolean, which allows conversion from any other type (such as numbers). Meanwhile setter in Saturn was using luaL_checkboolean, which throws an error when argument is not boolean. Weird that some parts of code use checkboolean, and some toboolean, but oh well