Better overall data warning for new users.

The localized string for the overall data was been updated: STRING_TUTORIAL_OVERALL1
Need to be translated to all languages except english.
This commit is contained in:
Tercioo
2019-08-03 16:48:11 -03:00
parent 85c23d940b
commit 9071980638
+1 -1
View File
@@ -1705,7 +1705,7 @@
if (instancia.rows_showing == 0 and instancia:GetSegment() == -1) then -- -1 overall data
if (not instancia:IsShowingOverallDataWarning()) then
local tutorial = _detalhes:GetTutorialCVar ("OVERALLDATA_WARNING1") or 0
if ((type (tutorial) == "number") and (tutorial < 6)) then
if ((type (tutorial) == "number") and (tutorial < 60)) then
_detalhes:SetTutorialCVar ("OVERALLDATA_WARNING1", tutorial + 1)
instancia:ShowOverallDataWarning (true)
end