mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 03:45:35 +08:00
* Disambiguation in the 'sim is restarting message' that tells you 'which' sim is restarting in the area.
This commit is contained in:
@@ -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
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user