Compare commits

...

2 commits

Author SHA1 Message Date
3964e268ee ci: bump SDK version 2025-08-11 00:30:52 +02:00
ea77c98c2f style: format code 2025-07-14 23:31:20 +02:00
8 changed files with 15 additions and 15 deletions

View file

@ -57,7 +57,7 @@ public class Helper
{
string names = "";
foreach(FileInfo file in files)
foreach (FileInfo file in files)
{
names = file.Name + " " + names;
}

View file

@ -19,14 +19,14 @@ 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);
}

View file

@ -98,7 +98,7 @@ public class Plugin : BaseUnityPlugin
foreach (var comp in comps)
{
Log.LogDebug("iterating thru singleton comps");
if(comp is GBSUServer)
if (comp is GBSUServer)
{
Log.LogDebug("GBSUServer component was found! Destroying it");
Destroy(comp);

View file

@ -79,4 +79,4 @@ Want a new feature? Found a bug? [Open an issue!](https://git.gaboule.com/Gaboul
- The mod is made for BepInEx 5
- The targeted Unity version is `2020.3.5f1`
- The TFM is `netstandard2.0`
- The mod is built using .NET SDK `9.0.103`
- The mod is built using .NET SDK `9.0.304`