Oooops, these are integers...

meow-7.2.2
Ansariel 2016-06-02 10:35:54 +02:00
parent 65e04b0e47
commit b588f370f5
1 changed files with 3 additions and 3 deletions

View File

@ -108,10 +108,10 @@ void LLFloaterRegionRestarting::refresh()
args["[SECONDS]"] = llformat("%d", sSeconds);
getChild<LLTextBox>("restart_seconds")->setValue(getString("RestartSeconds", args));
sSeconds = sSeconds - 1.f;
if(sSeconds < 0.0f)
sSeconds = sSeconds - 1;
if(sSeconds < 0)
{
sSeconds = 0.f;
sSeconds = 0;
}
}