From: SmallJoker Date: Sun, 20 Oct 2019 10:44:52 +0000 (+0200) Subject: Formspecs: Reset version number on rebuild X-Git-Tag: 5.2.0~322 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a978278bfba743ece5ec149aa366067aa47b61ff;p=oweals%2Fminetest.git Formspecs: Reset version number on rebuild --- 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(