Variable board size

This commit is contained in:
scambier committed 2023-02-22 21:06:16 +01:00
1 parent 988460d8b5
commit 3432f5d36e
4 files changed
+7 -6

No files matched your search

+1 -1
View File
@@ -19,7 +19,7 @@ function state_menu()
make_button({
x=10, y=10+k*10, w=200,
text=item[1], data={i=2},
on_click=function() set_state(states.rules) end,
on_click=function() board_size=item[2] set_state(states.loading) end,
on_hover=function(btn) selected=k+1 end,
})
)