From 2bb9c10ba2f426c246ea909826b90a7ad997951c Mon Sep 17 00:00:00 2001 From: Kade M Date: Mon, 3 May 2021 20:51:50 -0700 Subject: [PATCH] fix --- source/ModchartState.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/ModchartState.hx b/source/ModchartState.hx index 0b338ff..53bd9a3 100644 --- a/source/ModchartState.hx +++ b/source/ModchartState.hx @@ -172,7 +172,7 @@ class ModchartState // lua objects or what ever if (luaSprites.get(id) == null) { - if (Std.is(id, String)) + if (Std.parseInt(id) == null) return Reflect.getProperty(PlayState.instance,id); return PlayState.PlayState.strumLineNotes.members[Std.parseInt(id)]; }