Skip to content

Commit d5677dd

Browse files
committed
SCPSL 14.1.4
1 parent a620671 commit d5677dd

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

UncomplicatedCustomItems.sln

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ Global
1515
GlobalSection(ProjectConfigurationPlatforms) = postSolution
1616
{B39EE633-0EFE-42FC-B3E8-C6C4C86029E5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
1717
{B39EE633-0EFE-42FC-B3E8-C6C4C86029E5}.Debug|Any CPU.Build.0 = Debug|Any CPU
18-
{B39EE633-0EFE-42FC-B3E8-C6C4C86029E5}.Debug|x64.ActiveCfg = Exiled|x64
19-
{B39EE633-0EFE-42FC-B3E8-C6C4C86029E5}.Debug|x64.Build.0 = Exiled|x64
18+
{B39EE633-0EFE-42FC-B3E8-C6C4C86029E5}.Debug|x64.ActiveCfg = LabApi|x64
19+
{B39EE633-0EFE-42FC-B3E8-C6C4C86029E5}.Debug|x64.Build.0 = LabApi|x64
2020
{B39EE633-0EFE-42FC-B3E8-C6C4C86029E5}.Release|Any CPU.ActiveCfg = Release|Any CPU
2121
{B39EE633-0EFE-42FC-B3E8-C6C4C86029E5}.Release|Any CPU.Build.0 = Release|Any CPU
2222
{B39EE633-0EFE-42FC-B3E8-C6C4C86029E5}.Release|x64.ActiveCfg = Release|x64

UncomplicatedCustomItems/API/Features/SummonedCustomItem.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1042,7 +1042,7 @@ internal bool HandleCustomAction(Item item)
10421042
break;
10431043
case CustomItemType.Adrenaline:
10441044
IAdrenalineData adrenalineData = CustomItem.CustomData as IAdrenalineData;
1045-
Owner.CreateAhpProcess(adrenalineData.Amount, limit: 1000f, decay: adrenalineData.Decay, efficacy: adrenalineData.Efficacy, sustain: adrenalineData.Sustain, persistant: adrenalineData.Persistant);
1045+
Owner.CreateAhpProcess(adrenalineData.Amount, limit: 1000f, decay: adrenalineData.Decay, efficacy: adrenalineData.Efficacy, sustain: adrenalineData.Sustain, adrenalineData.Persistant);
10461046
break;
10471047
default:
10481048
return false;

UncomplicatedCustomItems/Events/PlayerHandler.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -671,7 +671,7 @@ public static void OnShooting(PlayerShootingWeaponEventArgs ev)
671671

672672
Ray baseRay = new(ev.Player.Camera.position + ev.Player.Camera.forward, ev.Player.Camera.forward);
673673

674-
if (ev.FirearmItem._actionModule is AutomaticActionModule autoModule)
674+
if (ev.FirearmItem.ActionModule is AutomaticActionModule autoModule)
675675
{
676676
for (int i = 0; i <= autoModule._clientChambered.Value; i++)
677677
{
@@ -691,7 +691,7 @@ public static void OnShooting(PlayerShootingWeaponEventArgs ev)
691691
}
692692
}
693693
}
694-
else if (ev.FirearmItem._actionModule is PumpActionModule pumpModule)
694+
else if (ev.FirearmItem.ActionModule is PumpActionModule pumpModule)
695695
{
696696
for (int i = 0; i <= pumpModule._clientChambered.Value; i++)
697697
{

0 commit comments

Comments
 (0)