fix success

This commit is contained in:
Axwabo 2023-02-11 22:22:28 +01:00
parent 7b15c5d758
commit cceb3473be
2 changed files with 2 additions and 1 deletions

View File

@ -13,6 +13,7 @@
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion> <TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment> <FileAlignment>512</FileAlignment>
<LangVersion>10</LangVersion> <LangVersion>10</LangVersion>
<NoWarn>MSB3277</NoWarn>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>x64</PlatformTarget> <PlatformTarget>x64</PlatformTarget>

View File

@ -53,7 +53,7 @@ public static class LogHandler {
GetKillMessage(handler, canBeKos, hasWeaponEquipped, isCuffed, carriesWeapon, PlayerRoleLoader.TryGetRoleTemplate(attackerRole, out FpcStandardScp _)), GetKillMessage(handler, canBeKos, hasWeaponEquipped, isCuffed, carriesWeapon, PlayerRoleLoader.TryGetRoleTemplate(attackerRole, out FpcStandardScp _)),
GetKillerStatus(attacker), GetKillerStatus(attacker),
GetVictimStatus(victim) GetVictimStatus(victim)
), !isCuffed && (!canBeKos || !hasWeaponEquipped), permissions); ), !isCuffed && (!canBeKos || hasWeaponEquipped), permissions);
} }
private static void Log(string msg, bool success, PlayerPermissions playerPermissions) { private static void Log(string msg, bool success, PlayerPermissions playerPermissions) {