diff options
Diffstat (limited to 'code/ui/overlay/DeathOverlay.Network.cs')
| -rw-r--r-- | code/ui/overlay/DeathOverlay.Network.cs | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/code/ui/overlay/DeathOverlay.Network.cs b/code/ui/overlay/DeathOverlay.Network.cs new file mode 100644 index 0000000..f1f3bb2 --- /dev/null +++ b/code/ui/overlay/DeathOverlay.Network.cs @@ -0,0 +1,18 @@ +using Sandbox;
+
+namespace MurderGame;
+
+public partial class DeathOverlay
+{
+ [ClientRpc]
+ public static void Show( )
+ {
+ if (Instance != null) Instance.ShowOverlay = true;
+ }
+
+ [ClientRpc]
+ public static void Hide()
+ {
+ if (Instance != null) Instance.ShowOverlay = false;
+ }
+}
|
