From 345352be6757ab9225df004307e07a48de2523dd Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Tue, 8 Dec 2020 17:42:08 +0900 Subject: [PATCH] Mark PerformUpdate as an instant handle method (doesn't really help with anything) --- osu.Game/Online/RealtimeMultiplayer/MultiplayerRoom.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/osu.Game/Online/RealtimeMultiplayer/MultiplayerRoom.cs b/osu.Game/Online/RealtimeMultiplayer/MultiplayerRoom.cs index 8a88d8fc90..3fbc01a2f5 100644 --- a/osu.Game/Online/RealtimeMultiplayer/MultiplayerRoom.cs +++ b/osu.Game/Online/RealtimeMultiplayer/MultiplayerRoom.cs @@ -5,6 +5,7 @@ using System; using System.Collections.Generic; +using JetBrains.Annotations; namespace osu.Game.Online.RealtimeMultiplayer { @@ -50,7 +51,7 @@ namespace osu.Game.Online.RealtimeMultiplayer /// Perform an update on this room in a thread-safe manner. /// /// The action to perform. - public void PerformUpdate(Action action) + public void PerformUpdate([InstantHandle] Action action) { lock (writeLock) action(this); }