mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-02-10 03:40:01 +00:00
QuantumShrine_IsPlayerInDarkness: playersInMoon ToList
This commit is contained in:
parent
fbb6a334ac
commit
4ffef93116
@ -325,7 +325,7 @@ public class QuantumPatches : QSBPatch
|
||||
}
|
||||
}
|
||||
|
||||
var playersInMoon = QSBPlayerManager.PlayerList.Where(x => x.IsInMoon);
|
||||
var playersInMoon = QSBPlayerManager.PlayerList.Where(x => x.IsInMoon).ToList();
|
||||
|
||||
if (playersInMoon.Any(player => !player.IsInShrine))
|
||||
{
|
||||
@ -339,7 +339,7 @@ public class QuantumPatches : QSBPatch
|
||||
return false;
|
||||
}
|
||||
|
||||
if (playersInMoon.Count() == 0)
|
||||
if (playersInMoon.Count == 0)
|
||||
{
|
||||
__result = false;
|
||||
return false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user