mirror of
https://github.com/sp-tarkov/server.git
synced 2025-02-12 21:30:43 -05:00
Made getDesiredServerLocale()
public
This commit is contained in:
parent
1376a25439
commit
6ef18e1835
@ -83,7 +83,7 @@ export class LocaleService {
|
|||||||
* Get the full locale of the computer running the server lowercased e.g. en-gb / pt-pt
|
* Get the full locale of the computer running the server lowercased e.g. en-gb / pt-pt
|
||||||
* @returns string
|
* @returns string
|
||||||
*/
|
*/
|
||||||
protected getPlatformForServerLocale(): string {
|
public getPlatformForServerLocale(): string {
|
||||||
const platformLocale = this.getPlatformLocale();
|
const platformLocale = this.getPlatformLocale();
|
||||||
if (!platformLocale) {
|
if (!platformLocale) {
|
||||||
this.logger.warning("System language could not be found, falling back to english");
|
this.logger.warning("System language could not be found, falling back to english");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user