in history::progress, progress_each is now configurable

This commit is contained in:
Zeno Rogue 2022-06-08 18:01:23 +02:00
parent 88fcca886c
commit fd5458eaed
1 changed files with 3 additions and 1 deletions

View File

@ -194,10 +194,12 @@ EX namespace history {
mouseovers = "";
}
EX int progress_each = 250;
EX void progress(string str) {
#if CAP_SDL
int tick = SDL_GetTicks();
if(tick > lastprogress + 250) {
if(tick > lastprogress + progress_each) {
lastprogress = tick;
msgs.clear();
addMessage(str);