Formspecs: Reset version number on rebuild

This commit is contained in:
SmallJoker 2019-10-20 12:44:52 +02:00
parent 79440605ec
commit a978278bfb

@ -2433,6 +2433,8 @@ void GUIFormSpecMenu::regenerateGui(v2u32 screensize)
m_bgfullscreen = false; m_bgfullscreen = false;
m_formspec_version = 1;
{ {
v3f formspec_bgcolor = g_settings->getV3F("formspec_default_bg_color"); v3f formspec_bgcolor = g_settings->getV3F("formspec_default_bg_color");
m_bgcolor = video::SColor( m_bgcolor = video::SColor(