Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
PintTheDragon committed Jan 16, 2023
1 parent dc9fce0 commit 3ddf9c6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion SCPStats/IDs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
using System;
using System.Collections.Generic;
using System.Linq;
using Exiled.API.Enums;
using PlayerRoles;
using PlayerRoles.PlayableScps.Scp939;
using PlayerStatsSystem;
Expand Down Expand Up @@ -311,7 +312,7 @@ internal static int ToID(this RoleTypeId RoleTypeId)
return -1;
}

internal static int ToID(this RoleChangeReason roleChangeReason)
internal static int ToID(this SpawnReason roleChangeReason)
{
if (RoleChangeReasonIDs.TryGetValue(roleChangeReason.ToString(), out var id)) return id;
return -1;
Expand Down

0 comments on commit 3ddf9c6

Please sign in to comment.