Browse Source

Fix crash;

bjorn 10 năm trước cách đây
mục cha
commit
c47c8ce95b
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      dinoland.lua

+ 1 - 1
dinoland.lua

@@ -175,7 +175,7 @@ function Dinoland:update()
     if not dactyl then break end
     dactyl.x = dactyl.x - dactyl.speed * ls.tickrate
     if dactyl.x < -100 then
-      table.remove(self.dactyl, i)
+      table.remove(self.dactyls, i)
     else
       i = i - 1
     end