quantum-space-buddies/QSB/EyeOfTheUniverse/Tomb/Messages/CloseDoorMessage.cs
2022-05-04 10:18:58 +01:00

15 lines
298 B
C#

using QSB.Messaging;
using QSB.Utility;
using QSB.WorldSync;
namespace QSB.EyeOfTheUniverse.Tomb.Messages;
internal class CloseDoorMessage : QSBMessage
{
public override void OnReceiveRemote()
{
var mirror = QSBWorldSync.GetUnityObject<EyeMirrorController>();
mirror._door.Close();
}
}