Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Narazaka committed Mar 4, 2024
1 parent 7f095d6 commit 89f4b00
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Localization/Localization.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#if UNITY_EDITOR
using System.Linq;
using System.Reflection;

Expand All @@ -19,7 +18,7 @@ static Lang Lang
}
}

#if HAS_NDMF
#if HAS_NDMF && UNITY_EDITOR
static string LanguageName => nadena.dev.ndmf.localization.LanguagePrefs.Language;
#else
static string LanguageName => "ja-jp";
Expand Down Expand Up @@ -57,4 +56,3 @@ static string Replaced(string str)
}
}
}
#endif

0 comments on commit 89f4b00

Please sign in to comment.