* Made covenant changes made in the estate tools persist across sim restarts.
parent
0e966baa2c
commit
0c555883d5
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue