Skyview: finish up init properly if there's no history to load

This commit is contained in:
Oliver Jowett 2019-03-04 15:17:16 +00:00
parent f04a71640a
commit 6abcebd0e4

View file

@ -389,6 +389,9 @@ function start_load_history() {
for (var i = 0; i < PositionHistorySize; i++) { for (var i = 0; i < PositionHistorySize; i++) {
load_history_item(i); load_history_item(i);
} }
} else {
// Nothing to load
end_load_history();
} }
} }