mirror of
https://github.com/mt-mods/playerfactions.git
synced 2025-02-16 16:32:24 +01:00
label data correctly
This commit is contained in:
3
init.lua
3
init.lua
@ -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
|
||||||
|
Reference in New Issue
Block a user