Do not set teleport doors to Open (#1786)

This commit is contained in:
Natedog2012
2021-11-26 15:26:07 -06:00
committed by GitHub
parent 8b54bb34e4
commit 774e0c7faa
+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)