Skip to content

Commit

Permalink
Add missing Steam localizations to FAF init.lua file mounting white…
Browse files Browse the repository at this point in the history
…list (FAForever#6251)

Fixes a crash on startup if the Steam install of the game is using Czech, Polish, or Chinese localization and the FAF install's localization file is missing.
  • Loading branch information
lL1l1 authored Jun 13, 2024
1 parent df380c3 commit 984e4ec
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions changelog/snippets/fix.6251.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- (#6251) Fix a crash on startup if the Steam install of the game is using Czech, Polish, or Chinese localization and the FAF install's localization file is missing.
3 changes: 3 additions & 0 deletions init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,9 @@ allowedAssetsScd["loc_fr.scd"] = true
allowedAssetsScd["loc_it.scd"] = true
allowedAssetsScd["loc_de.scd"] = true
allowedAssetsScd["loc_ru.scd"] = true
allowedAssetsScd["loc_cz.scd"] = true
allowedAssetsScd["loc_cn.scd"] = true
allowedAssetsScd["loc_pl.scd"] = true
allowedAssetsScd["env.scd"] = true
allowedAssetsScd["effects.scd"] = true
allowedAssetsScd["editor.scd"] = false -- Unused
Expand Down
3 changes: 3 additions & 0 deletions init_faf.lua
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,9 @@ allowedAssetsScd["loc_fr.scd"] = true
allowedAssetsScd["loc_it.scd"] = true
allowedAssetsScd["loc_de.scd"] = true
allowedAssetsScd["loc_ru.scd"] = true
allowedAssetsScd["loc_cz.scd"] = true
allowedAssetsScd["loc_cn.scd"] = true
allowedAssetsScd["loc_pl.scd"] = true
allowedAssetsScd["env.scd"] = true
allowedAssetsScd["effects.scd"] = true
allowedAssetsScd["editor.scd"] = false -- Unused
Expand Down
3 changes: 3 additions & 0 deletions init_fafbeta.lua
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,9 @@ allowedAssetsScd["loc_fr.scd"] = true
allowedAssetsScd["loc_it.scd"] = true
allowedAssetsScd["loc_de.scd"] = true
allowedAssetsScd["loc_ru.scd"] = true
allowedAssetsScd["loc_cz.scd"] = true
allowedAssetsScd["loc_cn.scd"] = true
allowedAssetsScd["loc_pl.scd"] = true
allowedAssetsScd["env.scd"] = true
allowedAssetsScd["effects.scd"] = true
allowedAssetsScd["editor.scd"] = false -- Unused
Expand Down
3 changes: 3 additions & 0 deletions init_fafdevelop.lua
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,9 @@ allowedAssetsScd["loc_fr.scd"] = true
allowedAssetsScd["loc_it.scd"] = true
allowedAssetsScd["loc_de.scd"] = true
allowedAssetsScd["loc_ru.scd"] = true
allowedAssetsScd["loc_cz.scd"] = true
allowedAssetsScd["loc_cn.scd"] = true
allowedAssetsScd["loc_pl.scd"] = true
allowedAssetsScd["env.scd"] = true
allowedAssetsScd["effects.scd"] = true
allowedAssetsScd["editor.scd"] = false -- Unused
Expand Down
3 changes: 3 additions & 0 deletions init_shared.lua
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,9 @@ allowedAssetsScd["loc_fr.scd"] = true
allowedAssetsScd["loc_it.scd"] = true
allowedAssetsScd["loc_de.scd"] = true
allowedAssetsScd["loc_ru.scd"] = true
allowedAssetsScd["loc_cz.scd"] = true
allowedAssetsScd["loc_cn.scd"] = true
allowedAssetsScd["loc_pl.scd"] = true
allowedAssetsScd["env.scd"] = true
allowedAssetsScd["effects.scd"] = true
allowedAssetsScd["editor.scd"] = false -- Unused
Expand Down

0 comments on commit 984e4ec

Please sign in to comment.