fix: 对局中D-Class逃出后也会有概率变为3114

This commit is contained in:
3cxc
2026-02-13 01:00:42 +08:00
parent 4da01efcc5
commit 182ccd037b

View File

@@ -131,7 +131,7 @@ namespace EasyTools.Events
public override void OnPlayerSpawning(PlayerSpawningEventArgs ev)
{
if (CustomRoleConfig.spawn_scp_3114 && Player.ReadyList.Count() >= CustomRoleConfig.spawn_scp_3114_limit && !scp_3114_spawned)
if (CustomRoleConfig.spawn_scp_3114 && !scp_3114_spawned && Player.ReadyList.Count() >= CustomRoleConfig.spawn_scp_3114_limit)
{
foreach (Player p in Player.ReadyList)
{
@@ -146,6 +146,7 @@ namespace EasyTools.Events
});
}
}
scp_3114_spawned = true;
}
}