Simply this check

This commit is contained in:
JohnAFernandez committed 2021-01-05 00:07:07 -05:00
1 parent 7a0578a797
commit 9f33b432fc
1 file changed
+1 -1
+1 -1
View File
@@ -297,7 +297,7 @@ void techroom_unload_animation()
void techroom_select_new_entry()
{
if (Current_list->empty() || Current_list->at(0).index == -1) {
if (Current_list->empty()) {
Cur_entry_index = Cur_entry = -1;
techroom_init_desc(nullptr,0);
return;