diff options
Diffstat (limited to 'Scripts')
-rw-r--r-- | Scripts/init.lua | 5 | ||||
-rw-r--r-- | Scripts/world.lua | 3 |
2 files changed, 5 insertions, 3 deletions
diff --git a/Scripts/init.lua b/Scripts/init.lua index f177462..78b2a76 100644 --- a/Scripts/init.lua +++ b/Scripts/init.lua @@ -129,6 +129,9 @@ wall = { } } +-- Create the world +dofile("Scripts/world.lua") + birdSpawn = game.spawn(bird); dogSpawn = game.spawn(cat); @@ -156,8 +159,6 @@ game.spawn({ end }); -dofile("Scripts/world.lua") - ------------------- -- SERIALIZING -- ------------------- diff --git a/Scripts/world.lua b/Scripts/world.lua index 1157704..a6224ab 100644 --- a/Scripts/world.lua +++ b/Scripts/world.lua @@ -41,4 +41,5 @@ world = { end } -world:Generate() +--world:Generate() +game.worldRegister(world) |