0
0
mirror of https://github.com/sp-tarkov/server.git synced 2025-02-12 15:50:42 -05:00

Made getDesiredServerLocale() public

This commit is contained in:
Chomp 2024-11-24 17:52:48 +00:00
parent 1376a25439
commit 6ef18e1835

View File

@ -83,7 +83,7 @@ export class LocaleService {
* Get the full locale of the computer running the server lowercased e.g. en-gb / pt-pt
* @returns string
*/
protected getPlatformForServerLocale(): string {
public getPlatformForServerLocale(): string {
const platformLocale = this.getPlatformLocale();
if (!platformLocale) {
this.logger.warning("System language could not be found, falling back to english");