Skip to content

Commit

Permalink
Update ScriptEditorState.hx
Browse files Browse the repository at this point in the history
  • Loading branch information
Joalor64GH authored Aug 7, 2023
1 parent db835a8 commit 2998aff
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions source/meta/state/editors/ScriptEditorState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ class ScriptEditorState extends MusicBeatState

var saveBtn:FlxButton;

var bg:FlxSprite;

override function create()
{
var bg:FlxSprite = new FlxSprite().loadGraphic(Paths.image('menuDesat'));
bg = new FlxSprite().loadGraphic(Paths.image('menuDesat'));
add(bg);

notePad = new FlxUIInputText(0, 0, 1024, "");
notePad.scale.set(640, 320);
notePad.screenCenter(XY);
add(notePad);

saveBtn = new FlxButton(22, 40, "Save");
Expand All @@ -57,4 +57,4 @@ class ScriptEditorState extends MusicBeatState
FlxG.sound.playMusic(Paths.music('freakyMenu'));
}
}
}
}

0 comments on commit 2998aff

Please sign in to comment.