Formspecs: Reset version number on rebuild
authorSmallJoker <mk939@ymail.com>
Sun, 20 Oct 2019 10:44:52 +0000 (12:44 +0200)
committerSmallJoker <mk939@ymail.com>
Sun, 20 Oct 2019 10:44:52 +0000 (12:44 +0200)
src/gui/guiFormSpecMenu.cpp

index ea6072cabf4ab1984c8fe63e9059754aafde8f62..5def4357e2fbe14a06532ba1ca89f902731eee97 100644 (file)
@@ -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(