From a3cb4375a54a1a3978a376c091d2edb899e41d62 Mon Sep 17 00:00:00 2001 From: Vortex2Oblivion <73261680+Vortex2Oblivion@users.noreply.github.com> Date: Sat, 3 Feb 2024 15:43:25 -0500 Subject: [PATCH] stop complaining about mirror shader shit --- source/modding/ModchartUtilities.hx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/modding/ModchartUtilities.hx b/source/modding/ModchartUtilities.hx index bf55a37da8..ac8f38dd40 100644 --- a/source/modding/ModchartUtilities.hx +++ b/source/modding/ModchartUtilities.hx @@ -2690,10 +2690,10 @@ class ModchartUtilities { if (!Options.getData("shaders")) return; - var funnyCustomShader:CustomShader = lua_Custom_Shaders.get(shaderName); - if(getCharacterByName(actorStr) != null) + var funnyCustomShader:CustomShader = lua_Custom_Shaders.get(id); + if(getCharacterByName(actor) != null) { - var character = getCharacterByName(actorStr); + var character = getCharacterByName(actor); if (character.otherCharacters != null && character.otherCharacters.length > 0) { for (c in 0...character.otherCharacters.length) @@ -2703,7 +2703,7 @@ class ModchartUtilities { return; } } - var actor = getActorByName(actorStr); + var actor = getActorByName(actor); if(actor != null && funnyCustomShader != null) actor.shader = funnyCustomShader;