mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-25 16:24:36 +00:00
Fix difference in translation strings regarding the new Between Two Seas map (#416)
##Description: I renamed all instances of "TwoSeas" to "BetweenTwoSeas". That way it lowers the confusion but more importrantly - it removes the difference between the translation strings for the map. Please put your Discord username so you can be contacted if a bug or regression is found: <Nikola123>
This commit is contained in:
@@ -95,9 +95,11 @@ export abstract class DefaultServerConfig implements ServerConfig {
|
||||
}
|
||||
// Maps smaller than ~2 mil pixels
|
||||
if (
|
||||
[GameMapType.TwoSeas, GameMapType.BlackSea, GameMapType.Pangaea].includes(
|
||||
map,
|
||||
)
|
||||
[
|
||||
GameMapType.BetweenTwoSeas,
|
||||
GameMapType.BlackSea,
|
||||
GameMapType.Pangaea,
|
||||
].includes(map)
|
||||
) {
|
||||
return Math.random() < 0.2 ? 60 : 35;
|
||||
}
|
||||
|
||||
@@ -60,7 +60,7 @@ export enum GameMapType {
|
||||
Australia = "Australia",
|
||||
Iceland = "Iceland",
|
||||
Japan = "Japan",
|
||||
TwoSeas = "Between Two Seas",
|
||||
BetweenTwoSeas = "Between Two Seas",
|
||||
KnownWorld = "Known World",
|
||||
}
|
||||
|
||||
|
||||
@@ -39,7 +39,7 @@ const MAP_FILE_NAMES: Record<GameMapType, string> = {
|
||||
[GameMapType.Australia]: "Australia",
|
||||
[GameMapType.Iceland]: "Iceland",
|
||||
[GameMapType.Japan]: "Japan",
|
||||
[GameMapType.TwoSeas]: "TwoSeas",
|
||||
[GameMapType.BetweenTwoSeas]: "BetweenTwoSeas",
|
||||
[GameMapType.KnownWorld]: "KnownWorld",
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user