summaryrefslogtreecommitdiff
path: root/src/server/scripts/Events
diff options
context:
space:
mode:
authorKitzunu <24550914+Kitzunu@users.noreply.github.com>2023-11-12 00:48:49 +0100
committerGitHub <noreply@github.com>2023-11-12 00:48:49 +0100
commitbbadc32bea2ad8b60ea591b8bb7b7387babef458 (patch)
tree5e58f176d760ade2e31b3bda7f9afd5b8a6dad5f /src/server/scripts/Events
parent4df0ab34275f24e56a473eac667f931b5f08cc2e (diff)
Revert Visibility Notifier changes (#17682)
* Revert "fix(Core/Grid): Implement missing GridUnload setting (#17569)" This reverts commit 79b39f9655111088a741185c4dabd31dae7d85ea. * Revert "fix(Core/Grid): Address bugs and performance issues introduced by visibility notifier implementation (#17480)" This reverts commit 60e27511c530b0949fee361a89d3eb9d9f9125af. * Revert "fix(Core): GridCleanUpDelay Log (#17436)" This reverts commit 90b16ca065a4881b94438575502c2441f435d53b. * Revert "feat(Core/Grids): Implement visibility notifier (#15919)" This reverts commit 2779833768bbe9967006d6d16888dace05b4bcb6.
Diffstat (limited to 'src/server/scripts/Events')
-rw-r--r--src/server/scripts/Events/midsummer.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/server/scripts/Events/midsummer.cpp b/src/server/scripts/Events/midsummer.cpp
index 6d347d2e27..9136401315 100644
--- a/src/server/scripts/Events/midsummer.cpp
+++ b/src/server/scripts/Events/midsummer.cpp
@@ -159,6 +159,8 @@ struct npc_midsummer_torch_target : public ScriptedAI
int8 num = urand(0, posVec.size() - 1);
Position pos;
pos.Relocate(posVec.at(num));
+ me->m_last_notify_position.Relocate(0.0f, 0.0f, 0.0f);
+ me->m_last_notify_mstime = GameTime::GetGameTimeMS().count() + 10000;
me->NearTeleportTo(pos.GetPositionX(), pos.GetPositionY(), pos.GetPositionZ(), pos.GetOrientation());
}