private void RemoveExitCommands(Location l) { if (l == null) return; foreach (var ex in l.Exits) _Commands.Remove(ex.Name); }