fix merge conflicts

This commit is contained in:
Jonathan 2024-03-18 15:36:27 -05:00
commit 989d33ff5e
4 changed files with 16 additions and 0 deletions

View File

@ -14,7 +14,11 @@ app.layout = require "views.layout"
app:post("/clickme", function(self)
self.plane = "P-38L"
<<<<<<< HEAD
mapFunc:populate(map)
=======
mapFunc.populate(self, map)
>>>>>>> refs/remotes/origin/master
return {self.plane, layout = false}
end)

View File

@ -4,6 +4,7 @@ config("development", {
server = "nginx",
code_cache = "off",
num_workers = "1",
port = "1010"
sqlite = {
database = "database.sqlite3",
-- open_flags = ...

Binary file not shown.

View File

@ -1,3 +1,4 @@
<<<<<<< HEAD
local map = {
@ -20,6 +21,16 @@ local map = {
x = h,
y = i,
occupied_by_type = self.map_tiles[h][i],
=======
local map = {
populate = function(self, map)
for h=1,100 do
for i=1,100 do
local tile = map:create({
x = h,
y = i,
occupied_by_type = "",
>>>>>>> refs/remotes/origin/master
occupied_by_id = ""
})
end