1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-05 19:31:04 +00:00

Restore the menu header explicitly

This commit is contained in:
siliconsniffer 2025-07-30 20:50:45 +02:00
parent 869ed0544e
commit 97141ffd41

View file

@ -51,6 +51,8 @@ function mm_game_theme.set_game(gamedetails)
assert(gamedetails ~= nil) assert(gamedetails ~= nil)
if mm_game_theme.gameid == gamedetails.id then if mm_game_theme.gameid == gamedetails.id then
-- still restore header in case it was cleared
mm_game_theme.set_game_single("header", gamedetails)
return return
end end
mm_game_theme.gameid = gamedetails.id mm_game_theme.gameid = gamedetails.id