From f35d984ca5798a6614905f4410d1f6f74dff53e0 Mon Sep 17 00:00:00 2001 From: JohnCorby Date: Sun, 27 Mar 2022 22:06:09 -0700 Subject: [PATCH] set InDreamWorld and AssignedSimulationLantern for local player --- .../DreamWorld/Messages/EnterDreamWorldMessage.cs | 2 ++ QSB/EchoesOfTheEye/DreamWorld/Messages/ExitDreamWorldMessage.cs | 2 ++ 2 files changed, 4 insertions(+) diff --git a/QSB/EchoesOfTheEye/DreamWorld/Messages/EnterDreamWorldMessage.cs b/QSB/EchoesOfTheEye/DreamWorld/Messages/EnterDreamWorldMessage.cs index bef6e488..82057f3b 100644 --- a/QSB/EchoesOfTheEye/DreamWorld/Messages/EnterDreamWorldMessage.cs +++ b/QSB/EchoesOfTheEye/DreamWorld/Messages/EnterDreamWorldMessage.cs @@ -27,6 +27,8 @@ internal class EnterDreamWorldMessage : QSBWorldObjectMessage OnReceiveRemote(); + public override void OnReceiveRemote() { var player = QSBPlayerManager.GetPlayer(From); diff --git a/QSB/EchoesOfTheEye/DreamWorld/Messages/ExitDreamWorldMessage.cs b/QSB/EchoesOfTheEye/DreamWorld/Messages/ExitDreamWorldMessage.cs index d247e510..ba575bdb 100644 --- a/QSB/EchoesOfTheEye/DreamWorld/Messages/ExitDreamWorldMessage.cs +++ b/QSB/EchoesOfTheEye/DreamWorld/Messages/ExitDreamWorldMessage.cs @@ -22,6 +22,8 @@ internal class ExitDreamWorldMessage : QSBMessage }); } + public override void OnReceiveLocal() => OnReceiveRemote(); + public override void OnReceiveRemote() { var player = QSBPlayerManager.GetPlayer(From);