From f3d2f8fd87dec1021ce6818d5900e9fe95fe06eb Mon Sep 17 00:00:00 2001 From: VegaZ Date: Wed, 5 May 2021 00:06:23 +0200 Subject: [PATCH] Fix Spec --- ReallifeGamemode.Server/Commands/AdminCommands.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ReallifeGamemode.Server/Commands/AdminCommands.cs b/ReallifeGamemode.Server/Commands/AdminCommands.cs index fd7217f2..994c1c02 100644 --- a/ReallifeGamemode.Server/Commands/AdminCommands.cs +++ b/ReallifeGamemode.Server/Commands/AdminCommands.cs @@ -1829,7 +1829,7 @@ namespace ReallifeGamemode.Server.Commands else { currentStatus = !currentStatus; - user.SetData("adminUnshow", currentStatus); + player.SetData("adminUnshow", currentStatus); player.TriggerEvent("SERVER:ADMIN_STOP_SPECTATE"); player.SafeTeleport(player.GetData("specPosition")); }