public void TryDoEvent(bool bForce)
        {
            if (CurrentEventMap != null)
            {
                return;                                      // cant have two events running at once
            }
            if (tLastEventStart.SecondsSinceStart() <= nEventIntervalMinutes * 60 && !bForce)
            {
                return;
            }

            CurrentEventMap = RandomEvent();

            if (CurrentEventMap is null)
            {
                tLastEventStart = DateTime.Now;
                //throw new NullReferenceException("CurrentEventMap is null in CEventManager.");
                return;                 // json memes
            }

            CurrentEventMap.Setup();

            tLastEventStart = DateTime.Now;
        }
 /// <summary>
 /// Sets the CurrentEventMap field to null
 /// </summary>
 public void EndCurrentEvent()
 {
     // warpout and map reset is done in event map
     CurrentEventMap = null;
 }