mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
Syntax
This commit is contained in:
parent
07000f7d47
commit
72062bbe08
@ -799,7 +799,7 @@ public void RebuildObservers(bool initialize)
|
||||
}
|
||||
|
||||
// apply changes from rebuild
|
||||
foreach (var conn in newObservers)
|
||||
foreach (NetworkConnection conn in newObservers)
|
||||
{
|
||||
if (conn == null)
|
||||
{
|
||||
@ -821,7 +821,7 @@ public void RebuildObservers(bool initialize)
|
||||
}
|
||||
}
|
||||
|
||||
foreach (var conn in oldObservers)
|
||||
foreach (NetworkConnection conn in oldObservers)
|
||||
{
|
||||
if (!newObservers.Contains(conn))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user