Little improvements

This commit is contained in:
Karolis2011
2016-01-29 11:43:04 +02:00
parent 180e673ca6
commit 5642c17b8c

View File

@@ -610,8 +610,10 @@
if(!P.ui_header) if(!P.ui_header)
continue continue
current_header_icons[P.type] = P.ui_header current_header_icons[P.type] = P.ui_header
if(!last_header_icons)
last_header_icons = current_header_icons
if (!(last_header_icons.len == current_header_icons.len && !length(last_header_icons^current_header_icons))) if(list2params(last_header_icons) != list2params(current_header_icons))
last_header_icons = current_header_icons last_header_icons = current_header_icons
ui_updated_needed = 1 ui_updated_needed = 1