1
0
Fork 0

Remove guideline about localizing variables

new_mapgen_api
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
1 changed files with 0 additions and 4 deletions

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