Skip to content

Commit

Permalink
Bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasjosif committed Feb 17, 2021
1 parent ce52b47 commit deb241b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions UltimateAFK/AFKComponent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,15 @@ private void AFKChecker()
//Log.Info($"AFK Time: {this.AFKTime} AFK Count: {this.AFKCount}");
if (this.ply.Team == Team.RIP || Player.List.Count() <= plugin.Config.MinPlayers || (plugin.Config.IgnoreTut && this.ply.Team == Team.TUT)) return;

bool isScp079 = (this.ply.Role == RoleType.Scp079) ? true : false;
bool isScp079 = (this.ply.Role == RoleType.Scp079);
bool scp096TryNotToCry = false;

// When SCP096 is in the state "TryNotToCry" he cannot move or it will cancel,
// therefore, we don't want to AFK check 096 while he's in this state.
if (this.ply.Role == RoleType.Scp096)
{
PlayableScps.Scp096 scp096 = this.ply.ReferenceHub.scpsController.CurrentScp as PlayableScps.Scp096;
scp096TryNotToCry = (scp096.PlayerState == Scp096PlayerState.TryNotToCry) ? true : false;
scp096TryNotToCry = (scp096.PlayerState == Scp096PlayerState.TryNotToCry);
}

Vector3 CurrentPos = this.ply.Position;
Expand Down
2 changes: 1 addition & 1 deletion UltimateAFK/MainClass.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public class MainClass : Plugin<Config>
public override string Author { get; } = "Thomasjosif";
public override string Name { get; } = "Ultimate AFK";
public override string Prefix { get; } = "uAFK";
public override Version Version { get; } = new Version(3, 1, 4);
public override Version Version { get; } = new Version(3, 1, 5);
public override Version RequiredExiledVersion { get; } = new Version(2, 1, 29, 0);
public PlayerEvents PlayerEvents;

Expand Down

0 comments on commit deb241b

Please sign in to comment.