Formspecs: Reset version number on rebuild

This commit is contained in:
SmallJoker 2019-10-20 12:44:52 +02:00 committed by rubenwardy
parent 6e6ef9489f
commit 06ba826803

@ -2418,6 +2418,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(