Skip to content

Commit

Permalink
Better overall data warning for new users.
Browse files Browse the repository at this point in the history
The localized string for the overall data was been updated: STRING_TUTORIAL_OVERALL1
Need to be translated to all languages except english.
  • Loading branch information
Tercioo committed Aug 3, 2019
1 parent 85c23d9 commit 9071980
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/control.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9071980

Please sign in to comment.