From 06ba82680312ef3836ec759ae603289a20ea42ec Mon Sep 17 00:00:00 2001 From: SmallJoker Date: Sun, 20 Oct 2019 12:44:52 +0200 Subject: [PATCH] Formspecs: Reset version number on rebuild --- src/gui/guiFormSpecMenu.cpp | 2 ++ 1 file changed, 2 insertions(+) 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( -- 2.25.1