Add a bunch more classes to null safety.
This commit is contained in:
committed by
Abnormal
parent
e9915e52fa
commit
647ce880e1
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user