Add a bunch more classes to null safety.

This commit is contained in:
EliteMasterEric
2025-06-25 13:42:24 -05:00
committed by Abnormal
parent e9915e52fa
commit 647ce880e1
21 changed files with 40 additions and 13 deletions
+2 -1
View File
@@ -8,6 +8,7 @@ import funkin.modding.events.ScriptEvent;
* A module is a scripted class which receives all events without requiring a specific context.
* You may have the module active at all times, or only when another script enables it.
*/
@:nullSafety
class Module implements IPlayStateScriptedClass implements IStateChangingScriptedClass
{
/**
@@ -28,7 +29,7 @@ class Module implements IPlayStateScriptedClass implements IStateChangingScripte
*
* Priority 1 is processed before Priority 1000, etc.
*/
public var priority(default, set):Int;
public var priority(default, set):Int = 1000;
function set_priority(value:Int):Int
{