mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
Guard setting the building flag
This commit is contained in:
@@ -3320,6 +3320,10 @@ namespace OpenSim.Region.Physics.OdePlugin
|
||||
|
||||
protected void changeBuilding(bool newbuilding)
|
||||
{
|
||||
// Check if we need to do anything
|
||||
if (newbuilding == m_building)
|
||||
return;
|
||||
|
||||
if ((bool)newbuilding)
|
||||
{
|
||||
m_building = true;
|
||||
|
||||
Reference in New Issue
Block a user