diff --git a/docs/4_Univers/tools/craftableLister/constructionLister.js b/docs/4_Univers/tools/craftableLister/constructionLister.js index 0476e8da..68749f2b 100755 --- a/docs/4_Univers/tools/craftableLister/constructionLister.js +++ b/docs/4_Univers/tools/craftableLister/constructionLister.js @@ -60,7 +60,7 @@ const init = () => { .split('propertyPath: initialName')[1] ?.split('value: ')[1] ?.split('\n')[0] - ?.replace('\r', ''); + ?.replaceAll('\r', ''); const spriteId = buildingMaterial.rawText .split('propertyPath: m_Sprite')[1] diff --git a/docs/4_Univers/tools/craftableLister/textureCrawler.js b/docs/4_Univers/tools/craftableLister/textureCrawler.js index 947205af..bf53b450 100755 --- a/docs/4_Univers/tools/craftableLister/textureCrawler.js +++ b/docs/4_Univers/tools/craftableLister/textureCrawler.js @@ -91,13 +91,13 @@ const crawlPrefabs = (basePath) => { .split('propertyPath: initialName')[1] ?.split('value: ')[1] ?.split('\n')[0] - ?.replace('\r', ''); + ?.replaceAll('\r', ''); if (name === undefined) { name = prefabFile.rawText .split('initialName: ')[1] ?.split('\n')[0] - ?.replace('\r', ''); + ?.replaceAll('\r', ''); } if (name === undefined) { @@ -105,14 +105,14 @@ const crawlPrefabs = (basePath) => { .split('propertyPath: m_Name')[1] ?.split('value: ')[1] ?.split('\n')[0] - ?.replace('\r', ''); + ?.replaceAll('\r', ''); } // last resort if (name === undefined) { name = prefabFile.rawText .split('m_Name: ')[1] ?.split('\n')[0] - ?.replace('\r', ''); + ?.replaceAll('\r', ''); } // initialName implement this instead of m_name diff --git a/i18n/FR/docusaurus-plugin-content-docs/current/4_Univers/tools/craftableLister/constructionLister.js b/i18n/FR/docusaurus-plugin-content-docs/current/4_Univers/tools/craftableLister/constructionLister.js index 0476e8da..68749f2b 100755 --- a/i18n/FR/docusaurus-plugin-content-docs/current/4_Univers/tools/craftableLister/constructionLister.js +++ b/i18n/FR/docusaurus-plugin-content-docs/current/4_Univers/tools/craftableLister/constructionLister.js @@ -60,7 +60,7 @@ const init = () => { .split('propertyPath: initialName')[1] ?.split('value: ')[1] ?.split('\n')[0] - ?.replace('\r', ''); + ?.replaceAll('\r', ''); const spriteId = buildingMaterial.rawText .split('propertyPath: m_Sprite')[1] diff --git a/i18n/FR/docusaurus-plugin-content-docs/current/4_Univers/tools/craftableLister/textureCrawler.js b/i18n/FR/docusaurus-plugin-content-docs/current/4_Univers/tools/craftableLister/textureCrawler.js index 947205af..bf53b450 100755 --- a/i18n/FR/docusaurus-plugin-content-docs/current/4_Univers/tools/craftableLister/textureCrawler.js +++ b/i18n/FR/docusaurus-plugin-content-docs/current/4_Univers/tools/craftableLister/textureCrawler.js @@ -91,13 +91,13 @@ const crawlPrefabs = (basePath) => { .split('propertyPath: initialName')[1] ?.split('value: ')[1] ?.split('\n')[0] - ?.replace('\r', ''); + ?.replaceAll('\r', ''); if (name === undefined) { name = prefabFile.rawText .split('initialName: ')[1] ?.split('\n')[0] - ?.replace('\r', ''); + ?.replaceAll('\r', ''); } if (name === undefined) { @@ -105,14 +105,14 @@ const crawlPrefabs = (basePath) => { .split('propertyPath: m_Name')[1] ?.split('value: ')[1] ?.split('\n')[0] - ?.replace('\r', ''); + ?.replaceAll('\r', ''); } // last resort if (name === undefined) { name = prefabFile.rawText .split('m_Name: ')[1] ?.split('\n')[0] - ?.replace('\r', ''); + ?.replaceAll('\r', ''); } // initialName implement this instead of m_name diff --git a/i18n/RU/docusaurus-plugin-content-docs/current/4_Univers/tools/craftableLister/constructionLister.js b/i18n/RU/docusaurus-plugin-content-docs/current/4_Univers/tools/craftableLister/constructionLister.js index 0476e8da..68749f2b 100755 --- a/i18n/RU/docusaurus-plugin-content-docs/current/4_Univers/tools/craftableLister/constructionLister.js +++ b/i18n/RU/docusaurus-plugin-content-docs/current/4_Univers/tools/craftableLister/constructionLister.js @@ -60,7 +60,7 @@ const init = () => { .split('propertyPath: initialName')[1] ?.split('value: ')[1] ?.split('\n')[0] - ?.replace('\r', ''); + ?.replaceAll('\r', ''); const spriteId = buildingMaterial.rawText .split('propertyPath: m_Sprite')[1] diff --git a/i18n/RU/docusaurus-plugin-content-docs/current/4_Univers/tools/craftableLister/textureCrawler.js b/i18n/RU/docusaurus-plugin-content-docs/current/4_Univers/tools/craftableLister/textureCrawler.js index 947205af..bf53b450 100755 --- a/i18n/RU/docusaurus-plugin-content-docs/current/4_Univers/tools/craftableLister/textureCrawler.js +++ b/i18n/RU/docusaurus-plugin-content-docs/current/4_Univers/tools/craftableLister/textureCrawler.js @@ -91,13 +91,13 @@ const crawlPrefabs = (basePath) => { .split('propertyPath: initialName')[1] ?.split('value: ')[1] ?.split('\n')[0] - ?.replace('\r', ''); + ?.replaceAll('\r', ''); if (name === undefined) { name = prefabFile.rawText .split('initialName: ')[1] ?.split('\n')[0] - ?.replace('\r', ''); + ?.replaceAll('\r', ''); } if (name === undefined) { @@ -105,14 +105,14 @@ const crawlPrefabs = (basePath) => { .split('propertyPath: m_Name')[1] ?.split('value: ')[1] ?.split('\n')[0] - ?.replace('\r', ''); + ?.replaceAll('\r', ''); } // last resort if (name === undefined) { name = prefabFile.rawText .split('m_Name: ')[1] ?.split('\n')[0] - ?.replace('\r', ''); + ?.replaceAll('\r', ''); } // initialName implement this instead of m_name