summaryrefslogtreecommitdiffhomepage
path: root/main.lua
diff options
context:
space:
mode:
authorAki <nthirtyone@gmail.com>2016-06-07 22:10:29 +0200
committerAki <nthirtyone@gmail.com>2016-06-07 22:10:29 +0200
commit33b5a2969a0de51f4241f170cafb386efa31cc99 (patch)
tree925c904ff4b1a10cf0ee7bdc2bac439adbc1995f /main.lua
parent5d9addae1483c5ccfd75b39b50fb950315f9c55e (diff)
downloadroflnauts-33b5a2969a0de51f4241f170cafb386efa31cc99.zip
roflnauts-33b5a2969a0de51f4241f170cafb386efa31cc99.tar.gz
roflnauts-33b5a2969a0de51f4241f170cafb386efa31cc99.tar.bz2
Dest
Destructors to make memory managment a little bit more efficient in long terms.
Diffstat (limited to 'main.lua')
-rw-r--r--main.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.lua b/main.lua
index 198e8b5..2fbec32 100644
--- a/main.lua
+++ b/main.lua
@@ -86,6 +86,7 @@ function love.keypressed (key)
end
if key == "f5" and debug then
local new = World:new("default", {"leon", Controllers[1]}, {"lonestar", Controllers[2]})
+ Scene:delete()
changeScene(new)
end
end