Change function call of set_physics_override to a more modern syntax so we dont get the deprecation warnings and added linting. #6

Merged
rudzik8 merged 3 commits from Impulse/mcl_cozy:master into master 2024-02-22 12:19:43 +01:00
Member

Apparently the minetest devs wanted to get rid of your usage of the set_physics_override so to plan ahead, i changed how we call it.

Here is the relevant comment in the engine code.

Plus its pretty annoying having thousands of deprecation warnings in the logs.

Also i added a .luacheckrc, for linting.

Apparently the minetest devs wanted to get rid of your usage of the set_physics_override so to plan ahead, i changed how we call it. [Here](https://github.com/minetest/minetest/blob/dd094d76065185bf4c38ab4b5f2677d40b24f0fc/src/script/lua_api/l_object.cpp#L1602C3-L1602C48) is the relevant comment in the engine code. Plus its pretty annoying having thousands of deprecation warnings in the logs. Also i added a .luacheckrc, for linting.
Impulse added 1 commit 2024-01-14 14:13:47 +01:00
Impulse added 1 commit 2024-01-14 14:20:37 +01:00
Impulse changed title from Change function call of set_physics_override to a more modern syntax so we dont get the deprecation warnings. to Change function call of set_physics_override to a more modern syntax so we dont get the deprecation warnings and added linting. 2024-01-14 14:20:58 +01:00
Impulse added 1 commit 2024-01-14 14:42:51 +01:00
rudzik8 merged commit 1927a1aabe into master 2024-02-22 12:19:43 +01:00
This repo is archived. You cannot comment on pull requests.
No description provided.