Remove guideline about localizing variables

This commit is contained in:
Elias Fleckenstein 2021-10-25 19:14:53 +02:00
parent d224236388
commit a6def5e9bb
No known key found for this signature in database
GPG Key ID: 06927A5199D6C9B2

View File

@ -158,10 +158,6 @@ global table named like the mod.
the table directly. the table directly.
* Use modern Minetest API * Use modern Minetest API
* Use tabs for indentation (rather than spaces) * Use tabs for indentation (rather than spaces)
* Even if it improves performance, it is discouraged to localize
variables at the beggining of files, since if another mod overrides some
of the functions / variables you localized, you will still have a
reference to the old function.
### Changes to Gameplay ### Changes to Gameplay
Pull Requests that change gameplay have to be properly researched and Pull Requests that change gameplay have to be properly researched and