소스 검색

Fix crash;

bjorn 10 년 전
부모
커밋
c47c8ce95b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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