1
0
mirror of https://gittea.dev/nova/th.git synced 2025-10-22 02:40:15 -04:00

delta time no longer reloading images

This commit is contained in:
nova
2025-10-13 23:09:57 +02:00
parent 140457e4b7
commit df726e2f32
3 changed files with 4 additions and 3 deletions

4
main.c
View File

@@ -81,7 +81,7 @@ int main(){
temp_heigth = terminal_height;
}
if (threading) {
status &= ~(STATUS_RELOAD_DIRECTORY);
status &= ~(STATUS_RELOAD_DIRECTORY | STATUS_DELTA_TIME);
threading = 0;
}
if (status & STATUS_RUN_BACKEND) {
@@ -101,7 +101,7 @@ int main(){
time(&dt);
if (dt - t >= SETTINGS_RELOAD_DIR_DELTA) {
time(&t);
status |= (STATUS_RUN_BACKEND | STATUS_RELOAD_DIRECTORY);
status |= (STATUS_RUN_BACKEND | STATUS_RELOAD_DIRECTORY | STATUS_DELTA_TIME);
}
#endif