Skip to content

Commit 000546e

Browse files
committed
Xml, Type, Date, Lambda and Sys are default imports for hscript
1 parent 7df13ec commit 000546e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

source/funkin/backend/scripting/Script.hx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ class Script extends FlxBasic implements IFlxDestroyable {
2828
"Reflect" => Reflect,
2929
"StringTools" => StringTools,
3030
"Json" => haxe.Json,
31+
"Xml" => Xml,
32+
"Type" => Type,
33+
"Date" => Date,
34+
"Lambda" => Lambda,
35+
"Sys" => Sys,
3136

3237
// OpenFL & Lime related stuff
3338
"Assets" => openfl.utils.Assets,

0 commit comments

Comments
 (0)