Skip to content

Commit

Permalink
Fix selection of first mapgen item
Browse files Browse the repository at this point in the history
  • Loading branch information
Qrox committed Sep 1, 2019
1 parent ab61089 commit 687b534
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/editmap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1883,7 +1883,7 @@ void editmap::edit_mapgen()
pgettext( "map generator", "Mapgen stamp" ) );
gmenu.query();

if( gmenu.ret > 0 ) {
if( gmenu.ret >= 0 ) {
blink = false;
mapgen_preview( tc, gmenu );
blink = true;
Expand Down

0 comments on commit 687b534

Please sign in to comment.