[BUG]Mouse coordinates where incorrect

This commit is contained in:
2021-12-05 20:26:22 +01:00
parent cf608cea78
commit 69976ee9f6
2 changed files with 7 additions and 1 deletions

View File

@@ -279,6 +279,7 @@ void lua_init(const char* filename, const bool start_playing) {
lua_pushcfunction(L,cpp_max); lua_setglobal(L, "max");
lua_pushcfunction(L,cpp_mid); lua_setglobal(L, "mid");
lua_pushcfunction(L,cpp_min); lua_setglobal(L, "min");
lua_pushcfunction(L,cpp_rnd); lua_setglobal(L, "rnd");
lua_pushcfunction(L,cpp_srand); lua_setglobal(L, "srand");
lua_pushcfunction(L,cpp_tostr); lua_setglobal(L, "tostr");