From d402f6fed15c9ba61edf7f6b7b22e648c7cded34 Mon Sep 17 00:00:00 2001 From: sumneko Date: Fri, 12 Apr 2019 14:24:38 +0800 Subject: =?UTF-8?q?=E5=87=8F=E5=B0=91=E6=B8=85=E7=90=86=E9=A2=91=E7=8E=87?= =?UTF-8?q?=EF=BC=8C=E4=BD=86=E4=BC=9A=E7=95=A5=E5=BE=AE=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E5=86=85=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/src/vm/chain.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/src/vm/chain.lua') diff --git a/server/src/vm/chain.lua b/server/src/vm/chain.lua index a8ff01fa..6e7c6ac7 100644 --- a/server/src/vm/chain.lua +++ b/server/src/vm/chain.lua @@ -27,7 +27,7 @@ function mt:clearCache() end end self.count = n - self.max = self.count + 10 + self.max = self.count * 1.1 + 10 if self.max < self.min then self.max = self.min end -- cgit v1.2.3