Browse Source

Fixed doors that have a LUA script, butn o usedoor defined, they will open correctly if no usedoor function exists

Image 3 years ago
parent
commit
1b95c72543
1 changed files with 1 additions and 1 deletions
  1. 1 1
      EQ2/source/WorldServer/zoneserver.cpp

+ 1 - 1
EQ2/source/WorldServer/zoneserver.cpp

@@ -2699,7 +2699,7 @@ bool ZoneServer::CallSpawnScript(Spawn* npc, int8 type, Spawn* spawn, const char
 				break;
 			}
 			case SPAWN_SCRIPT_USEDOOR: {
-				lua_interface->RunSpawnScript(script, "usedoor", npc, spawn, "", is_door_open);
+				result = lua_interface->RunSpawnScript(script, "usedoor", npc, spawn, "", is_door_open);
 				break;
 			}
 			default: