소스 검색

Way less;

bjorn 10 년 전
부모
커밋
47a1039caa
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      person.lua

+ 1 - 1
person.lua

@@ -93,7 +93,7 @@ end
 function Person:hop(direction)
   self.body:applyLinearImpulse(30 * direction, -45)
 
-  if ctx.map.name == 'dinoland' and self.gender == 'male' and love.math.random() < .1 and self:distanceTo(ctx.pigeon) < 500 then
+  if ctx.map.name == 'dinoland' and self.gender == 'male' and love.math.random() < .01 and self:distanceTo(ctx.pigeon) < 500 then
     ctx.sound:play('grunt')
   end
 end