diff options
| author | Michael <[email protected]> | 2017-05-28 13:36:28 -0400 |
|---|---|---|
| committer | Michael <[email protected]> | 2017-05-28 13:36:28 -0400 |
| commit | 6123e06842ec9eea60bd2d73588ac6c545d0ea99 (patch) | |
| tree | ceb50d391f9728bf5a895b3efbbe9ab17b77f977 /ShiftOS_TheReturn | |
| parent | 03ebdf42d9f12b678d48f954736664f6f3eb1f84 (diff) | |
| download | shiftos_thereturn-6123e06842ec9eea60bd2d73588ac6c545d0ea99.tar.gz shiftos_thereturn-6123e06842ec9eea60bd2d73588ac6c545d0ea99.tar.bz2 shiftos_thereturn-6123e06842ec9eea60bd2d73588ac6c545d0ea99.zip | |
make localization 50 billion times faster
Diffstat (limited to 'ShiftOS_TheReturn')
| -rw-r--r-- | ShiftOS_TheReturn/Localization.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ShiftOS_TheReturn/Localization.cs b/ShiftOS_TheReturn/Localization.cs index c542c2a..8adfa5a 100644 --- a/ShiftOS_TheReturn/Localization.cs +++ b/ShiftOS_TheReturn/Localization.cs @@ -160,7 +160,9 @@ namespace ShiftOS.Engine {"%domain", domainReplace}, {"%ns", namespaceReplace}, {"%cmd", commandReplace}, - {"%cp", SaveSystem.CurrentSave?.Codepoints.ToString() }, +#if LOCALIZE_CODEPOINTS + { "%cp", SaveSystem.CurrentSave?.Codepoints.ToString() }, +#endif }; // actually do the replacement |
