Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System.Net;
using System.Net;
using Forge.Engine;
using Forge.Factory;
using Forge.Networking.Messaging;
Expand All @@ -18,9 +18,13 @@ public class ForgeEngineFacade : MonoBehaviour, IEngineFacade
[SerializeField]
private string _sceneToDisconnectTo = "";

public string CurrentMap => _sceneToLoad;

private int _currentEntityId = 0;
// public string CurrentMap => _sceneToLoad;
public string CurrentMap
{
get => _sceneToLoad;
set => _sceneToLoad = value; // Add this setter
}
private int _currentEntityId = 0;

public INetworkMediator NetworkMediator { get; set; }
private ISocketFacade _selfSocket => NetworkMediator.SocketFacade;
Expand Down