From a978278bfba743ece5ec149aa366067aa47b61ff 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 ea6072cab..5def4357e 100644 --- a/src/gui/guiFormSpecMenu.cpp +++ b/src/gui/guiFormSpecMenu.cpp @@ -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( -- 2.25.1