Skip to content
This repository has been archived by the owner on Feb 15, 2025. It is now read-only.

Commit

Permalink
Fix: when param values in maidata.txt contains "=", they won't be imp…
Browse files Browse the repository at this point in the history
…orted completely.
  • Loading branch information
Sparkling-C6H6Cl6 committed Jun 25, 2024
1 parent f3a09a4 commit c3bc2e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SimaiProcess.cs
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public static void SaveData(string filename)

private static string GetValue(string varline)
{
return varline.Split('=')[1];
return varline.Substring(varline.IndexOf("=") + 1);
}

/// <summary>
Expand Down

0 comments on commit c3bc2e9

Please sign in to comment.