Skip to content
This repository has been archived by the owner on Aug 7, 2022. It is now read-only.

Commit

Permalink
Fixed Case not being triggered when the selected item has a |
Browse files Browse the repository at this point in the history
  • Loading branch information
erri120 committed Dec 6, 2019
1 parent c1f7751 commit 179eef7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OMODFramework/Scripting/OBMMScriptHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -917,7 +917,7 @@ private static string[] FunctionSelect(IReadOnlyCollection<string> line, bool is
var result = new string[selectedIndex.Count];
for (int i = 0; i < selectedIndex.Count; i++)
{
result[i] = $"Case {items[selectedIndex[i]]}";
result[i] = $"Case {items[selectedIndex[i]].Replace("|","")}";
}

return result;
Expand Down

0 comments on commit 179eef7

Please sign in to comment.