mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 17:55:48 +08:00
* Made covenant changes made in the estate tools persist across sim restarts.
This commit is contained in:
@@ -390,5 +390,10 @@ namespace OpenSim.Framework
|
||||
|
||||
return true;
|
||||
}
|
||||
public void SaveEstatecovenantUUID(LLUUID notecard)
|
||||
{
|
||||
configMember.forceSetConfigurationOption("estate_covanant_uuid", notecard.ToString());
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -477,7 +477,7 @@ namespace OpenSim.Region.Environment
|
||||
foreach (EstateOwnerMessagePacket.ParamListBlock block in packet.ParamList)
|
||||
{
|
||||
float timeSeconds = 0;
|
||||
timeSeconds = BitConverter.ToInt16(block.Parameter, 1);
|
||||
timeSeconds = BitConverter.ToInt32(block.Parameter, 1);
|
||||
timeSeconds = (int) ((timeSeconds/100) - 3);
|
||||
m_scene.Restart(timeSeconds);
|
||||
}
|
||||
@@ -489,6 +489,7 @@ namespace OpenSim.Region.Environment
|
||||
{
|
||||
LLUUID newCovenantID = new LLUUID(Helpers.FieldToUTF8String(block.Parameter));
|
||||
m_regInfo.CovenantID = newCovenantID;
|
||||
m_scene.RegionInfo.SaveEstatecovenantUUID(newCovenantID);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user