Skip to content

Commit

Permalink
Main default in scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
lunarcleint committed Feb 4, 2024
1 parent 5ccb917 commit 4d5af25
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/funkin/backend/scripting/Script.hx
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ class Script extends FlxBasic implements IFlxDestroyable {
// OpenFL & Lime related stuff
"Assets" => openfl.utils.Assets,
"Application" => lime.app.Application,
"Main" => funkin.backend.system.Main,
"window" => lime.app.Application.current.window,

// Flixel related stuff
Expand Down

0 comments on commit 4d5af25

Please sign in to comment.