Skip to content

Commit 9bcbb72

Browse files
Update EventHandler.cs
1 parent a1de049 commit 9bcbb72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Code/EventSystem/EventHandler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ private static Variable[] InternalGetVariablesFromProperties(List<(object value,
222222
{
223223
if (value is null) continue;
224224
variables.Add(Variable.Create(
225-
$"ev{name.First().ToString().ToUpper()}{name[1..]}",
225+
$"ev{name[0].ToString().ToUpper()}{name[1..]}",
226226
Value.Parse(value, null))
227227
);
228228
}

0 commit comments

Comments
 (0)