Skip to content

Commit cf6b302

Browse files
committed
fix djmango#60 crash
1 parent 32eac1e commit cf6b302

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

control.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,7 @@ local function update_menu_trader( player, player_mem, update_orders )
548548
gui3.add_item(proto.localised_name)
549549
end
550550

551-
gui3.selected_index = quality_list[quality_lookup_by_level[quality - 1]]
551+
gui3.selected_index = quality_list[quality_lookup_by_level[quality - 1]] or 1
552552
end
553553
end
554554

0 commit comments

Comments
 (0)