Skip to content

Commit

Permalink
temp fix for epicloot spawning zones in client mode and then discardi…
Browse files Browse the repository at this point in the history
…ng them
  • Loading branch information
ontrigger committed Aug 26, 2021
1 parent 9ed8154 commit 0ddc6c2
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,11 @@ private void Awake()
WaterVolume = GetComponentInChildren<WaterVolume>()
};

ZoneComponentsByLocation.Add(zonePosition, cachedData);
// temp workaround for EpicLoot spawning zones in Client mode
if (!ZoneComponentsByLocation.ContainsKey(zonePosition))
{
ZoneComponentsByLocation.Add(zonePosition, cachedData);
}
}

private void OnDestroy()
Expand Down

0 comments on commit 0ddc6c2

Please sign in to comment.