* Disambiguation in the 'sim is restarting message' that tells you 'which' sim is restarting in the area.

afrisby
Teravus Ovares 2007-11-28 06:31:27 +00:00
parent b7d596a6af
commit c021bfe191
1 changed files with 2 additions and 2 deletions

View File

@ -307,7 +307,7 @@ namespace OpenSim.Region.Environment.Scenes
t_restartTimer.Elapsed += new ElapsedEventHandler(restartTimer_Elapsed); t_restartTimer.Elapsed += new ElapsedEventHandler(restartTimer_Elapsed);
MainLog.Instance.Error("REGION", "Restarting Region in " + (seconds / 60) + " minutes"); MainLog.Instance.Error("REGION", "Restarting Region in " + (seconds / 60) + " minutes");
t_restartTimer.Start(); t_restartTimer.Start();
SendGeneralAlert("Restarting in 2 Minutes"); SendGeneralAlert(RegionInfo.RegionName + ": Restarting in 2 Minutes");
} }
@ -318,7 +318,7 @@ namespace OpenSim.Region.Environment.Scenes
if (m_RestartTimerCounter <= m_incrementsof15seconds) if (m_RestartTimerCounter <= m_incrementsof15seconds)
{ {
if (m_RestartTimerCounter == 4 || m_RestartTimerCounter == 6 || m_RestartTimerCounter == 7) if (m_RestartTimerCounter == 4 || m_RestartTimerCounter == 6 || m_RestartTimerCounter == 7)
SendGeneralAlert("Restarting in " + ((8-m_RestartTimerCounter) * 15) + " seconds"); SendGeneralAlert(RegionInfo.RegionName + ": Restarting in " + ((8 - m_RestartTimerCounter) * 15) + " seconds");
} }
else else
{ {