Skip to content

Commit

Permalink
Don't check for null Data
Browse files Browse the repository at this point in the history
Co-authored-by: Vladislav Stepanov <[email protected]>
  • Loading branch information
Miepee and VladiStep authored Dec 21, 2023
1 parent 62d635a commit 0299d79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion UndertaleModTool/Scripts/Builtin Scripts/TTFFonts.csx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
EnsureDataLoaded();

var displayName = Data?.GeneralInfo?.DisplayName?.Content.ToLower()
var displayName = Data.GeneralInfo?.DisplayName?.Content.ToLower()

if (displayName == "deltarune chapter 1 & 2" || displayName == "deltarune chapter 1&2")
{
Expand Down

0 comments on commit 0299d79

Please sign in to comment.