private bool _tryLoadSpells(string fileName = null) { try { m_spells = string.IsNullOrEmpty(fileName) ? new SpellFile() : new SpellFile(fileName); } catch { m_spells = null; return(false); } return(true); }
private bool _tryLoadSpells(string fileName = null) { try { m_spells = string.IsNullOrEmpty(fileName) ? new SpellFile() : new SpellFile(fileName); } catch { m_spells = null; return false; } return true; }