네트워크 멀티플레이 대응
This commit is contained in:
@@ -258,7 +258,7 @@ namespace Northbound
|
||||
|
||||
private void OnClientConnected(ulong clientId)
|
||||
{
|
||||
if (!IsServer) return;
|
||||
if (!IsOwner) return;
|
||||
|
||||
// Ensure fog data exists for this client
|
||||
if (!_serverFogData.ContainsKey(clientId))
|
||||
@@ -280,7 +280,7 @@ namespace Northbound
|
||||
|
||||
private void Update()
|
||||
{
|
||||
if (!IsServer) return;
|
||||
if (!IsOwner) return;
|
||||
|
||||
_updateTimer += Time.deltaTime;
|
||||
if (_updateTimer >= updateInterval)
|
||||
|
||||
Reference in New Issue
Block a user