Fix Spec 3
This commit is contained in:
@@ -1797,7 +1797,7 @@ namespace ReallifeGamemode.Server.Commands
|
||||
}
|
||||
Player target;
|
||||
|
||||
bool currentStatus = user.GetData<bool>("adminUnshow");
|
||||
bool currentStatus = player.GetData<bool>("adminUnshow");
|
||||
|
||||
if (targetname != null)
|
||||
{
|
||||
@@ -1817,7 +1817,7 @@ namespace ReallifeGamemode.Server.Commands
|
||||
if (!currentStatus)
|
||||
{
|
||||
currentStatus = !currentStatus;
|
||||
user.SetData("adminUnshow", currentStatus);
|
||||
player.SetData("adminUnshow", currentStatus);
|
||||
}
|
||||
player.TriggerEvent("toggleAdminUnshowMode", currentStatus);
|
||||
player.SetData<Vector3>("specPosition", player.Position);
|
||||
|
||||
Reference in New Issue
Block a user