Skip to content

Commit

Permalink
Merge pull request #107 from Wolf3s/float
Browse files Browse the repository at this point in the history
Add f value
  • Loading branch information
SmileYzn authored Dec 21, 2023
2 parents 9cceed6 + 8ca74af commit 541e06e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MatchBot/MatchPause.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ void CMatchPause::RoundRestart()
this->SetRoundTime(static_cast<int>(gMatchBot.m_PauseTime->value) + 1, true);

// Create Pause Timer Task
gMatchTask.Create(TASK_PAUSE_MATCH, 0.5, true, (void*)this->PauseTimer, static_cast<int>(gMatchBot.m_PauseTime->value));
gMatchTask.Create(TASK_PAUSE_MATCH, 0.5f, true, (void*)this->PauseTimer, static_cast<int>(gMatchBot.m_PauseTime->value));

// Remain time in seconds
time_t RemainTime = static_cast<time_t>(gMatchBot.m_PauseTime->value);
Expand Down

0 comments on commit 541e06e

Please sign in to comment.