summaryrefslogtreecommitdiffhomepage
path: root/not/Platform.lua
diff options
context:
space:
mode:
authorAki <nthirtyone@gmail.com>2018-04-09 21:30:11 +0200
committerAki <nthirtyone@gmail.com>2018-04-09 21:30:11 +0200
commitfa4409cedb322bbd41722f22308f399979fc6676 (patch)
treea7cc4725b003c1932ad88f4fce8548d43605bf9b /not/Platform.lua
parent96f6ebdaf06650a35dcdb6a1fc3f472b3aab6d8a (diff)
parent290d75dceb905217cb67fcb32e95dbeb45e27e3c (diff)
downloadroflnauts-fa4409cedb322bbd41722f22308f399979fc6676.zip
roflnauts-fa4409cedb322bbd41722f22308f399979fc6676.tar.gz
roflnauts-fa4409cedb322bbd41722f22308f399979fc6676.tar.bz2
Love2D version 0.10.2 -> 11.0
Diffstat (limited to 'not/Platform.lua')
-rw-r--r--not/Platform.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/not/Platform.lua b/not/Platform.lua
index a4b3a59..29c74cf 100644
--- a/not/Platform.lua
+++ b/not/Platform.lua
@@ -8,7 +8,7 @@ Platform = PhysicalBody:extends()
-- Constructor of `Platform`
function Platform:new (animations, shape, x, y, world, imagePath)
Platform.__super.new(self, x, y, world, imagePath)
- self:setAnimationsList(animations)
+ self:setAnimations(animations)
-- Create table of shapes if single shape is passed.
if type(shape[1]) == "number" then
shape = {shape}