fix: handle threading issues for concurrent clients joining

This commit is contained in:
Andrew Welker
2025-12-26 12:34:31 -06:00
parent 39c1f60a4d
commit 53e7a30224
5 changed files with 60 additions and 17 deletions

View File

@@ -662,6 +662,7 @@ namespace PepperDash.Essentials
if (jsonFiles.Length > 1)
{
Debug.LogError("Multiple configuration files found in application directory: {@jsonFiles}", jsonFiles.Select(f => f.FullName).ToArray());
throw new Exception("Multiple configuration files found. Cannot continue.");
}