Browse Source

fix doors not opening

bulk updates no good for doors?
Image 4 years ago
parent
commit
6eeaee134c
1 changed files with 4 additions and 0 deletions
  1. 4 0
      EQ2/source/WorldServer/Widget.cpp

+ 4 - 0
EQ2/source/WorldServer/Widget.cpp

@@ -276,6 +276,8 @@ void Widget::OpenDoor(){
 	is_open = true;
 	if(open_duration > 0)
 		GetZone()->AddWidgetTimer(this, open_duration);
+
+	GetZone()->SendSpawnChanges(this);
 }
 
 void Widget::CloseDoor(){
@@ -309,6 +311,8 @@ void Widget::CloseDoor(){
 	}
 
 	is_open = false;
+
+	GetZone()->SendSpawnChanges(this);
 }
 
 void Widget::ProcessUse(){