summaryrefslogtreecommitdiffhomepage
path: root/not/Player.lua
diff options
context:
space:
mode:
Diffstat (limited to 'not/Player.lua')
-rw-r--r--not/Player.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/not/Player.lua b/not/Player.lua
index 373505d..5fc2adc 100644
--- a/not/Player.lua
+++ b/not/Player.lua
@@ -12,7 +12,7 @@ setmetatable(Player, Hero)
-- Constructor of `Player`.
-- TODO: I'm sure it is a duplicate, but `not.World.create*` methods need to pass proper parameters.
-function Player:new (game, world, x, y, name)
+function Player:new (name, game, x, y)
local o = setmetatable({}, self)
o:init(name, game, x, y)
-- Load portraits statically to `not.Hero`.