These can be private. (#669)

This commit is contained in:
rodolphito 2019-03-27 05:13:27 -07:00 committed by vis2k
parent 4897edd76a
commit 57066a6003

View File

@ -22,8 +22,8 @@ public static class ClientScene
public static Dictionary<ulong, NetworkIdentity> spawnableObjects;
// spawn handlers
internal static Dictionary<Guid, SpawnDelegate> spawnHandlers = new Dictionary<Guid, SpawnDelegate>();
internal static Dictionary<Guid, UnSpawnDelegate> unspawnHandlers = new Dictionary<Guid, UnSpawnDelegate>();
static Dictionary<Guid, SpawnDelegate> spawnHandlers = new Dictionary<Guid, SpawnDelegate>();
static Dictionary<Guid, UnSpawnDelegate> unspawnHandlers = new Dictionary<Guid, UnSpawnDelegate>();
// this is never called, and if we do call it in NetworkClient.Shutdown
// then the client's player object won't be removed after disconnecting!