summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--main.lua4
-rw-r--r--menu.lua4
2 files changed, 4 insertions, 4 deletions
diff --git a/main.lua b/main.lua
index 2fbec32..bb0bc67 100644
--- a/main.lua
+++ b/main.lua
@@ -29,10 +29,6 @@ function love.load ()
-- Menu bijaczes
m = Menu:new()
- m:newSelector()
- m:newSelector()
- m:newSelector()
- m:newSelector()
-- Controllers
Controllers = {}
diff --git a/menu.lua b/menu.lua
index f704a1c..ac4d85e 100644
--- a/menu.lua
+++ b/menu.lua
@@ -30,6 +30,10 @@ function Menu:new ()
o.selectors = {}
o.selected = {}
o.portrait_sprite = love.graphics.newImage("assets/portraits.png")
+ -- selectors
+ for i=0,3 do
+ o:newSelector()
+ end
return o
end