Don't show PM count on connect in singleplayer; closes #42

This commit is contained in:
KaadmY 2017-05-12 07:14:54 -07:00
parent dec846e265
commit fea962b9ca
1 changed files with 3 additions and 0 deletions

View File

@ -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 = {}