Centralize Hunter interface strings and verify mobile HUD
This commit is contained in:
1 parent
16a359d4af
commit
c88c3501b3
21 files changed
+752
-336
No files matched your search
@@ -13,6 +13,7 @@ local Timeline = require(Hunter:WaitForChild("Timeline") :: ModuleScript)
|
||||
local Stage = require(Hunter:WaitForChild("Stage") :: ModuleScript)
|
||||
local RoundConfig = require(Hunter:WaitForChild("RoundConfig") :: ModuleScript)
|
||||
local Strings = require(Hunter:WaitForChild("Strings") :: ModuleScript)
|
||||
local Text = Strings.interface.ArenaRounds
|
||||
local Runtime = script.Parent:WaitForChild("ModeRuntime")
|
||||
local RoundPlayer = require(Runtime:WaitForChild("PlayerRoundState") :: ModuleScript)
|
||||
local Stats = require(Runtime:WaitForChild("Stats") :: ModuleScript)
|
||||
@@ -70,8 +71,8 @@ local pendingJoins: {[Player]: PendingJoin} = {}
|
||||
local matches: {[string]: Match} = {
|
||||
[Modes.Procedural] = {
|
||||
id = Modes.Procedural, state = randomState,
|
||||
blue = makeTeam("Синие", BrickColor.new("Cyan")),
|
||||
orange = makeTeam("Оранжевые", BrickColor.new("Deep orange")),
|
||||
blue = makeTeam(Text.sinie, BrickColor.new("Cyan")),
|
||||
orange = makeTeam(Text.oranzhevye, BrickColor.new("Deep orange")),
|
||||
phase = "Setup", endsAt = 0, order = 0, rule = Rules.Default, allowModeChange = true, eligible = {}, ballots = {},
|
||||
},
|
||||
}
|
||||
@@ -305,7 +306,7 @@ local function spawnCharacter(player: Player, previous: Model?)
|
||||
if player.Parent ~= Players or player.Character ~= previous then return end
|
||||
local ok, issue = pcall(player.LoadCharacterAsync, player)
|
||||
if ok then return end
|
||||
warn("Не удалось возродить игрока:", issue)
|
||||
warn(Text.neUdalosVozroditIgroka, issue)
|
||||
if attempt == 1 then task.wait(1) end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user