mirror of
https://gitee.com/cssfw/EasyTools.git
synced 2026-03-28 12:01:36 +08:00
fix: 对局中D-Class逃出后也会有概率变为3114
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user