From 842a6d94916296912aba934b2b23d59244ea463b Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Fri, 3 Jun 2016 19:16:56 -0400 Subject: update castle, colormachine, moreblocks, pipeworks, tpr, and digilines --- colormachine/init.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'colormachine') diff --git a/colormachine/init.lua b/colormachine/init.lua index 912be13..dceff54 100644 --- a/colormachine/init.lua +++ b/colormachine/init.lua @@ -1139,6 +1139,9 @@ colormachine.blocktype_menu = function( meta, new_color, page ) local per_line = 13; local anz_lines = 3; local per_page = anz_lines * per_line; + if( not( page )) then + page = 1; + end local start_at_offset = per_page * page; new_color = colormachine.decode_color_name( meta, new_color ); -- cgit v1.2.3