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:
4
main.c
4
main.c
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user