Skip to content
This repository was archived by the owner on Aug 5, 2025. It is now read-only.

Commit 8640683

Browse files
committed
fix: Error log due to a missing validation in NextFrame
1 parent 1690aa4 commit 8640683

File tree

4 files changed

+8
-1
lines changed

4 files changed

+8
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
-- 2025.02.07 - 2.0.2
2+
3+
- fix: Error log due to a missing validation in NextFrame
4+
15
-- 2025.02.06 - 2.0.1
26

37
- feat: Introduced configurable default round type for scenarios where players have no matching round preferences

src-plugin/Plugin/Models/ArenaPlayerModel.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,9 @@ public void SetupWeapons(RoundType roundType)
105105

106106
Server.NextWorldUpdate(() =>
107107
{
108+
if (!this.IsValid)
109+
return;
110+
108111
if (Controller.PlayerPawn.Value != null)
109112
{
110113
CCSPlayerPawn playerPawn = Controller.PlayerPawn.Value;

src-plugin/Plugin/PluginManifest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ public sealed partial class Plugin : BasePlugin
1010

1111
public override string ModuleAuthor => "K4ryuu";
1212

13-
public override string ModuleVersion => "2.0.1 " +
13+
public override string ModuleVersion => "2.0.2 " +
1414
#if RELEASE
1515
"(release)";
1616
#else

src-shared/K4-ArenaSharedApi.dll

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)