local
g_nextUpdate
=
nil
function
UpdateTitle
(
titleLabel
)
:
SetText
ZO_WorldMap_GetMapTitle
end
ZO_WorldMapCorner_OnInitialized
self
GetNamedChild
"Title"
UpdateTitleEventCallback
CALLBACK_MANAGER
RegisterCallback
"OnWorldMapChanged"
,
"OnWorldMapCampaignChanged"
RegisterForEvent
EVENT_PLAYER_ACTIVATED
ZO_WorldMapCorner_OnUpdate
time
if
==
or
>
then
formattedTime
nextUpdateIn
ZO_FormatClockTime
"Time"
+