aboutsummaryrefslogtreecommitdiffstats
path: root/Scripts/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'Scripts/init.lua')
-rw-r--r--Scripts/init.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/Scripts/init.lua b/Scripts/init.lua
index 2eeee18..65513ec 100644
--- a/Scripts/init.lua
+++ b/Scripts/init.lua
@@ -131,6 +131,9 @@ wall = {
}
}
+-- Create the world
+dofile("Scripts/world.lua")
+
birdSpawn = game.spawn(bird);
dogSpawn = game.spawn(cat);
@@ -158,8 +161,6 @@ game.spawn({
end
});
-dofile("Scripts/world.lua")
-
-------------------
-- SERIALIZING --
-------------------