Fixed doors that have a LUA script, butn o usedoor defined, they will open correctly if no usedoor function exists
This commit is contained in:
parent
6304430e3a
commit
1b95c72543
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue