make 1 player option work
parent
9b512d9b58
commit
51e6b293e9
|
@ -145,6 +145,13 @@ function TIC()
|
|||
end
|
||||
|
||||
function handler_main_menu(action)
|
||||
if action=="start-1-player" then
|
||||
return { redirect=handler_draw_card }
|
||||
elseif action=="start-2-player" then
|
||||
elseif action=="start-3-player" then
|
||||
elseif action=="start-4-player" then
|
||||
end
|
||||
|
||||
local player_count_cards={
|
||||
Card:new(1, 1),
|
||||
Card:new(2, 2),
|
||||
|
@ -170,7 +177,7 @@ function handler_main_menu(action)
|
|||
table.insert(elements, {
|
||||
visual=card,
|
||||
x=x, y=68,
|
||||
action=card,
|
||||
action="start-"..i.."-player",
|
||||
})
|
||||
x=x+24+space_around
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue