quantum-space-buddies/QSB/EyeOfTheUniverse/Tomb/Messages/CloseDoorMessage.cs

15 lines
298 B
C#
Raw Normal View History

2022-05-04 09:18:58 +00:00
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();
}
}