[BUG]Mouse coordinates where incorrect
This commit is contained in:
1
lua.cpp
1
lua.cpp
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user