Skip to content

Commit

Permalink
Update Hscript.hx
Browse files Browse the repository at this point in the history
  • Loading branch information
Joalor64GH authored Jan 2, 2025
1 parent 5ff1c41 commit d60942a
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions source/modding/Hscript.hx
Original file line number Diff line number Diff line change
Expand Up @@ -147,12 +147,10 @@ class Hscript extends FlxBasic {
setVariable('FlxTween', FlxTween);
setVariable('FlxTypedGroup', FlxTypedGroup);
setVariable('createTypedGroup', function(?variable) {
variable = new FlxTypedGroup<Dynamic>();
return variable;
return variable = new FlxTypedGroup<Dynamic>();
});
setVariable('createSpriteGroup', function(?variable) {
variable = new FlxSpriteGroup();
return variable;
return variable = new FlxSpriteGroup();
});

// State Stuff
Expand Down

0 comments on commit d60942a

Please sign in to comment.