label data correctly

This commit is contained in:
Luke aka SwissalpS 2024-09-16 15:54:00 +02:00
parent f99dcfa57c
commit 64d31e7d6b

@ -1,7 +1,7 @@
-- Translation support -- Translation support
local S = minetest.get_translator("playerfactions") local S = minetest.get_translator("playerfactions")
-- Data -- Global factions table
factions = {} factions = {}
-- This variable "version" can be used by other mods to check the compatibility of this mod -- This variable "version" can be used by other mods to check the compatibility of this mod
factions.version = 2 factions.version = 2
@ -15,6 +15,7 @@ minetest.register_on_mods_loaded(function()
end end
end) end)
-- Data
local facts = {} local facts = {}
local storage = minetest.get_mod_storage() local storage = minetest.get_mod_storage()
if storage:get_string("facts") ~= "" then if storage:get_string("facts") ~= "" then