@@ -710,12 +710,15 @@ local curpage = meta:contains("pagenr") and meta:get_int("pagenr") or 1 local pagect = math.ceil(#book.pages / constants.recipes_per_cookbook_page) - if curpage > 1 and fields.pageback then - meta:set_int('pagenr', curpage - 1) - elseif curpage < pagect and fields.pagenext then - meta:set_int('pagenr', curpage + 1) + if fields.pageback or fields.pagenext then + if curpage > 1 and fields.pageback then + meta:set_int('pagenr', curpage - 1) + elseif curpage < pagect and fields.pagenext then + meta:set_int('pagenr', curpage + 1) + end + minetest.sound_play('sorcery_pgturn', { pos = pos, gain = 0.6 }) end uinv:set_stack('main',idx,stack) bookform(stack,user)