1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-13 16:45:20 +02:00

Add server/client annotations to settingtypes.txt and make use of them (#15756)

This commit is contained in:
grorp
2025-04-01 07:55:47 -04:00
committed by GitHub
parent 6724068659
commit c30c94dfaa
12 changed files with 231 additions and 96 deletions

View File

@@ -447,8 +447,8 @@ if INIT == "pause_menu" then
-- require porting "FSTK" (at least the dialog API) from the mainmenu formspec
-- API to the in-game formspec API.
-- There's no reason you'd want to adjust mapgen noise parameter settings
-- in-game (they only apply to new worlds), so there's no reason to implement
-- this.
-- in-game (they only apply to new worlds, hidden as [world_creation]),
-- so there's no reason to implement this.
local empty = function()
return { get_formspec = function() return "", 0 end }
end