diff options
Diffstat (limited to 'objects/Shot.lua')
| -rw-r--r-- | objects/Shot.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/objects/Shot.lua b/objects/Shot.lua index e479b2a..6c7f7fb 100644 --- a/objects/Shot.lua +++ b/objects/Shot.lua @@ -93,7 +93,7 @@ function Shot:onContact(other, contact) else dieOnThisContact = true if math.random(3) == 1 then - local lootItem = Loot:new("brokenheart", other.x, other.y) + local lootItem = Loot:new("brokenheart", self.x, self.y) table.insert(G.currentRoom.objects.loots, lootItem) end end |
