public void CreateCaravanFormingSession(bool reform, Action onClosed, bool mapAboutToBeRemoved) { if (caravanForming != null) { return; } caravanForming = new CaravanFormingSession(map, reform, onClosed, mapAboutToBeRemoved); }
public CaravanFormingSession CreateCaravanFormingSession(bool reform, Action onClosed, bool mapAboutToBeRemoved) { if (caravanForming == null) { caravanForming = new CaravanFormingSession(map, reform, onClosed, mapAboutToBeRemoved); } return(caravanForming); }