Do not set teleport doors to Open (#1786)

This commit is contained in:
Natedog2012 authored and GitHub committed 2021-11-26 15:26:07 -06:00
1 parent 8b54bb34e4
commit 774e0c7faa
1 file changed
+3 -1
+3 -1
View File
@@ -383,7 +383,9 @@ void Doors::HandleClick(Client* sender, uint8 trigger) {
if (!IsDoorOpen() || (open_type == 58)) {
if (!disable_timer)
close_timer.Start();
SetOpenState(true);
if(strncmp(destination_zone_name, "NONE", strlen("NONE")) == 0)
SetOpenState(true);
} else {
close_timer.Disable();
if (!disable_timer)