Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

Commit

Permalink
Updated to SMod 3.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Rnen committed Nov 10, 2019
1 parent 30d5434 commit 90bcfaa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions AdminToolbox/AdminToolbox/AdminToolbox.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ namespace AdminToolbox
id = "rnen.admin.toolbox",
version = AT_Version + "-" + AT_Revision,
SmodMajor = 3,
SmodMinor = 5,
SmodMinor = 6,
SmodRevision = 0
)]
public class AdminToolbox : Plugin
{
internal const string AT_Version = "1.3.8";
internal const string AT_Revision = "11";
internal const string AT_Revision = "12";

#region GitHub release info
private DateTime LastOnlineCheck = DateTime.Now;
Expand Down
4 changes: 2 additions & 2 deletions AdminToolbox/AdminToolbox/Events/MyMiscEvents.cs
Original file line number Diff line number Diff line change
Expand Up @@ -353,11 +353,11 @@ public void OnHandcuffed(PlayerHandcuffedEvent ev)

if (ev.Player.GetGodmode() || (playerSetting?.godMode ?? false))
{
ev.Handcuffed = false;
ev.Allow = false;
}
else if (ev.Player.TeamRole.Role == Role.TUTORIAL && !Config.GetBoolValue("admintoolbox_tutorial_canbehandcuffed", false))
{
ev.Handcuffed = false;
ev.Allow = false;
}
}

Expand Down

0 comments on commit 90bcfaa

Please sign in to comment.