Modify message for missing ruleset.
This commit is contained in:
@@ -35,7 +35,7 @@ namespace Cryville.Crtr.Browsing.UI {
|
|||||||
Game.GameDataPath, "rulesets", rulesetName, ".umgr"
|
Game.GameDataPath, "rulesets", rulesetName, ".umgr"
|
||||||
));
|
));
|
||||||
if (!file.Exists) {
|
if (!file.Exists) {
|
||||||
throw new FileNotFoundException("Ruleset for the chart not found\nMake sure you have imported the ruleset");
|
throw new FileNotFoundException("Ruleset for the resource not found\nMake sure you have imported the ruleset");
|
||||||
}
|
}
|
||||||
DirectoryInfo dir = file.Directory;
|
DirectoryInfo dir = file.Directory;
|
||||||
using (StreamReader reader = new StreamReader(file.FullName, Encoding.UTF8)) {
|
using (StreamReader reader = new StreamReader(file.FullName, Encoding.UTF8)) {
|
||||||
|
Reference in New Issue
Block a user