Formspecs: Reset version number on rebuild
authorSmallJoker <mk939@ymail.com>
Sun, 20 Oct 2019 10:44:52 +0000 (12:44 +0200)
committerrubenwardy <rw@rubenwardy.com>
Thu, 26 Dec 2019 17:24:27 +0000 (17:24 +0000)
src/gui/guiFormSpecMenu.cpp

index aee7da8696c8e780d4a435ad05e18f3070ab80f8..83d7923d900d4703a8b0de1c29d99bc3c8072090 100644 (file)
@@ -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(