summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorSmallJoker <mk939@ymail.com>2019-10-20 12:44:52 +0200
committerSmallJoker <mk939@ymail.com>2019-10-20 12:44:52 +0200
commita978278bfba743ece5ec149aa366067aa47b61ff (patch)
treef089cb8ef55dd225477f224be8534ddef0d5d334 /src/gui
parent79440605ec2a16bf9a0a8df58bc15d9d9d2b42bd (diff)
downloadminetest-a978278bfba743ece5ec149aa366067aa47b61ff.tar.gz
minetest-a978278bfba743ece5ec149aa366067aa47b61ff.tar.bz2
minetest-a978278bfba743ece5ec149aa366067aa47b61ff.zip
Formspecs: Reset version number on rebuild
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/guiFormSpecMenu.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/guiFormSpecMenu.cpp b/src/gui/guiFormSpecMenu.cpp
index ea6072cab..5def4357e 100644
--- a/src/gui/guiFormSpecMenu.cpp
+++ b/src/gui/guiFormSpecMenu.cpp
@@ -2433,6 +2433,8 @@ void GUIFormSpecMenu::regenerateGui(v2u32 screensize)
m_bgfullscreen = false;
+ m_formspec_version = 1;
+
{
v3f formspec_bgcolor = g_settings->getV3F("formspec_default_bg_color");
m_bgcolor = video::SColor(