Disable mod hg_stats in singleplayer mode

master
upsilon 2019-08-18 18:55:03 +02:00
parent 8c78149b91
commit d1b9d3e213
No known key found for this signature in database
GPG Key ID: A80DAE1F266E1C3C
1 changed files with 4 additions and 0 deletions

View File

@ -1,3 +1,7 @@
if minetest.is_singleplayer() then
return
end
local storage = minetest.get_mod_storage()
local global_stats = {}