diff options
author | SmallJoker <mk939@ymail.com> | 2019-10-20 12:44:52 +0200 |
---|---|---|
committer | rubenwardy <rw@rubenwardy.com> | 2019-12-26 17:24:27 +0000 |
commit | 06ba82680312ef3836ec759ae603289a20ea42ec (patch) | |
tree | 0afd124e93a002b28b2e1d5c71ceea353dd2239d /src/gui | |
parent | 6e6ef9489f898d06730015239fb2595d8d6b316b (diff) | |
download | minetest-06ba82680312ef3836ec759ae603289a20ea42ec.tar.gz minetest-06ba82680312ef3836ec759ae603289a20ea42ec.tar.bz2 minetest-06ba82680312ef3836ec759ae603289a20ea42ec.zip |
Formspecs: Reset version number on rebuild
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/guiFormSpecMenu.cpp | 2 |
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( |