Use to_string on integer

develop
Ryan Williams 2022-05-03 00:09:34 -07:00 committed by GitHub
parent 704651582b
commit 74499ad64a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

@ -1783,7 +1783,7 @@ int Gui::autoDFAnnouncement(df::report_init r, string message)
if (a_flags.bits.D_DISPLAY)
{
world->status.display_timer = r.display_timer;
Gui::writeToGamelog("x" + (repeat_count + 1));
Gui::writeToGamelog("x" + to_string(repeat_count + 1));
}
return 0;
}