summaryrefslogtreecommitdiff
path: root/entity.lua
diff options
context:
space:
mode:
Diffstat (limited to 'entity.lua')
-rw-r--r--entity.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/entity.lua b/entity.lua
index 56dcd74..caa5226 100644
--- a/entity.lua
+++ b/entity.lua
@@ -42,7 +42,7 @@ function Entity:b_sprite_position(vec)
return self
end
function Entity:b_type(entity_type)
- self.entity_type = type
+ self.entity_type = entity_type
return self
end
function Entity:b_equipped(equipped)