Fix GUI not remembering settings

master
Wuzzy 2020-08-28 13:20:48 +02:00
parent 56545f370f
commit bface5d42a
1 changed files with 5 additions and 1 deletions

View File

@ -213,7 +213,11 @@ minetest.register_on_player_receive_fields(function(player, formname, fields)
show = true
end
if show then
calendar.show_calendar(name, DEFAULT_SETTINGS, cur_months, cur_years)
calendar.show_calendar(name,
player_current_calendars[name].settings,
cur_months, cur_years,
player_current_calendars[name].caption_format
)
end
end)