aboutsummaryrefslogtreecommitdiffstats
path: root/code/ui/overlay/DeathOverlay.Network.cs
diff options
context:
space:
mode:
Diffstat (limited to 'code/ui/overlay/DeathOverlay.Network.cs')
-rw-r--r--code/ui/overlay/DeathOverlay.Network.cs26
1 files changed, 16 insertions, 10 deletions
diff --git a/code/ui/overlay/DeathOverlay.Network.cs b/code/ui/overlay/DeathOverlay.Network.cs
index f1f3bb2..33e354c 100644
--- a/code/ui/overlay/DeathOverlay.Network.cs
+++ b/code/ui/overlay/DeathOverlay.Network.cs
@@ -4,15 +4,21 @@ namespace MurderGame;
public partial class DeathOverlay
{
- [ClientRpc]
- public static void Show( )
- {
- if (Instance != null) Instance.ShowOverlay = true;
- }
+ [ClientRpc]
+ public static void Show()
+ {
+ if ( Instance != null )
+ {
+ Instance.ShowOverlay = true;
+ }
+ }
- [ClientRpc]
- public static void Hide()
- {
- if (Instance != null) Instance.ShowOverlay = false;
- }
+ [ClientRpc]
+ public static void Hide()
+ {
+ if ( Instance != null )
+ {
+ Instance.ShowOverlay = false;
+ }
+ }
}