From fea962b9ca616faa90d446e20d55f5cb32d9e46e Mon Sep 17 00:00:00 2001 From: KaadmY Date: Fri, 12 May 2017 07:14:54 -0700 Subject: [PATCH] Don't show PM count on connect in singleplayer; closes #42 --- mods/pm/init.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mods/pm/init.lua b/mods/pm/init.lua index cd944f8..4319a0d 100644 --- a/mods/pm/init.lua +++ b/mods/pm/init.lua @@ -5,6 +5,9 @@ local enable_saving = minetest.setting_getbool("pm_enable_saving") if enable_saving == nil then enable_saving = true end +if minetest.is_singleplayer() then + enable_saving = false +end local messages = {}