summaryrefslogtreecommitdiffhomepage
path: root/world.lua
diff options
context:
space:
mode:
Diffstat (limited to 'world.lua')
-rw-r--r--world.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/world.lua b/world.lua
index 4dc2420..11fffac 100644
--- a/world.lua
+++ b/world.lua
@@ -57,7 +57,7 @@ end
-- Add new naut to the world
function World:createNaut(x, y, sprite)
- table.insert(self.Nauts, Player:new(self.world, x, y, sprite))
+ table.insert(self.Nauts, Player:new(self, self.world, x, y, sprite))
end
-- Add new cloud to the world