summaryrefslogtreecommitdiffhomepage
path: root/world.lua
diff options
context:
space:
mode:
authorAki <nthirtyone@gmail.com>2017-02-24 22:53:59 +0100
committerAki <nthirtyone@gmail.com>2017-02-24 22:53:59 +0100
commit5f013c9ca7b7c642a723befc1bafcd9f432f2956 (patch)
treeb58c7a8a22d0e9a9ef74fa11f3d11ba1b7ea6a8e /world.lua
parent7c37217f4bc21139b34fafd5cb140f483129a10c (diff)
parent044313ea34209417f6f3837ff3b0402a8eeb7ed5 (diff)
downloadroflnauts-5f013c9ca7b7c642a723befc1bafcd9f432f2956.zip
roflnauts-5f013c9ca7b7c642a723befc1bafcd9f432f2956.tar.gz
roflnauts-5f013c9ca7b7c642a723befc1bafcd9f432f2956.tar.bz2
Merge branch 'sounds'v1.0-pre.5
Diffstat (limited to 'world.lua')
-rw-r--r--world.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/world.lua b/world.lua
index 30359fd..f2af28d 100644
--- a/world.lua
+++ b/world.lua
@@ -216,6 +216,7 @@ function World:onNautKilled(naut)
changeScene(Menu:new())
elseif #nauts < 2 then
self.lastNaut = true
+ naut:playSound(5, true)
end
end