Skip to content

Commit

Permalink
Update Hscript.hx
Browse files Browse the repository at this point in the history
  • Loading branch information
Joalor64GH authored Nov 13, 2024
1 parent a0b481f commit 25a2927
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/modding/Hscript.hx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class Hscript extends FlxBasic {

setVariable('this', this);
setVariable('import', function(daClass:String, ?asDa:String) {
var splitClassName:Array<String> = daClass.split('.'));
var splitClassName:Array<String> = daClass.split('.');
var className:String = splitClassName.join('.');
var daClass:Class<Dynamic> = Type.resolveClass(className);
var daEnum:Enum<Dynamic> = Type.resolveEnum(className);
Expand Down

0 comments on commit 25a2927

Please sign in to comment.