summaryrefslogtreecommitdiffstats
path: root/example
diff options
context:
space:
mode:
Diffstat (limited to 'example')
-rw-r--r--example/scripts/maps/desert.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/scripts/maps/desert.lua b/example/scripts/maps/desert.lua
index 782dd2b..6b761dc 100644
--- a/example/scripts/maps/desert.lua
+++ b/example/scripts/maps/desert.lua
@@ -126,7 +126,7 @@ function Tamer(npc, ch, list)
posY(npc) - 3 * TILESIZE,
6 * TILESIZE, 6 * TILESIZE)) do
if being_type(b) == TYPE_MONSTER then
- monster_remove(b)
+ b:remove()
end
end