diff --git a/source/states/ScriptableState.hx b/source/states/ScriptableState.hx index 774b19c..7925c5c 100644 --- a/source/states/ScriptableState.hx +++ b/source/states/ScriptableState.hx @@ -107,7 +107,7 @@ class ScriptableState extends MusicBeatState function variableCalls() { // can you shut the fuck up about the "Assets" error now? - set('Assets', openfl.utils.Assets); + scriptCall('Assets', openfl.utils.Assets); scriptSet('this', this); scriptSet('add', add);