Skip to content

Commit 4e91b60

Browse files
committed
better if specified through code too
1 parent ba92501 commit 4e91b60

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/funkin/backend/scripting/events/RatingUpdateEvent.hx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ final class RatingUpdateEvent extends CancellableEvent {
44
/**
55
New combo (may be null if no ratings were found)
66
**/
7-
public var rating:ComboRating;
7+
public var rating:Null<ComboRating>;
88
/**
99
Old combo (may be null)
1010
**/
11-
public var oldRating:ComboRating;
11+
public var oldRating:Null<ComboRating>;
1212

1313
}

0 commit comments

Comments
 (0)