style: format code
This commit is contained in:
parent
3f15516985
commit
ea77c98c2f
7 changed files with 14 additions and 14 deletions
|
|
@ -19,17 +19,17 @@ class ConfigLoaderPatch
|
|||
|
||||
// Reading from file
|
||||
try
|
||||
{
|
||||
{
|
||||
text = File.ReadAllText(Helper.GameConfigPath);
|
||||
Plugin.Log.LogDebug("Provided rotation config:\n" + text);
|
||||
RotationConfig rc = JsonConvert.DeserializeObject<RotationConfig>(text);
|
||||
__result = rc;
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
__result = rc;
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
GBSUGui.PushError("Couldn't read game config file. A few details:\n" + e);
|
||||
}
|
||||
|
||||
return false; // skip
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue