summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSmallJoker <mk939@ymail.com>2019-10-20 12:44:52 +0200
committerrubenwardy <rw@rubenwardy.com>2019-12-26 17:24:27 +0000
commit06ba82680312ef3836ec759ae603289a20ea42ec (patch)
tree0afd124e93a002b28b2e1d5c71ceea353dd2239d /src
parent6e6ef9489f898d06730015239fb2595d8d6b316b (diff)
downloadminetest-06ba82680312ef3836ec759ae603289a20ea42ec.tar.gz
minetest-06ba82680312ef3836ec759ae603289a20ea42ec.tar.bz2
minetest-06ba82680312ef3836ec759ae603289a20ea42ec.zip
Formspecs: Reset version number on rebuild
Diffstat (limited to 'src')
-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 aee7da869..83d7923d9 100644
--- a/src/gui/guiFormSpecMenu.cpp
+++ b/src/gui/guiFormSpecMenu.cpp
@@ -2418,6 +2418,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(