Don't show PM count on connect in singleplayer; closes #42
This commit is contained in:
parent
dec846e265
commit
fea962b9ca
@ -5,6 +5,9 @@
|
|||||||
|
|
||||||
local enable_saving = minetest.setting_getbool("pm_enable_saving")
|
local enable_saving = minetest.setting_getbool("pm_enable_saving")
|
||||||
if enable_saving == nil then enable_saving = true end
|
if enable_saving == nil then enable_saving = true end
|
||||||
|
if minetest.is_singleplayer() then
|
||||||
|
enable_saving = false
|
||||||
|
end
|
||||||
|
|
||||||
local messages = {}
|
local messages = {}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user