报错修复
This commit is contained in:
parent
6d535e1dc4
commit
be0dcdb5b7
@ -557,7 +557,7 @@ function BattleUI:shakeScreen(shakeType, duration)
|
||||
self.shakeTween:Restart()
|
||||
else
|
||||
self.shakeTween:Kill()
|
||||
local length = ConfigManager:getConfig("config")["shake_level_" .. math.ceil(shakeType / 2)].value / 100
|
||||
local length = ConfigManager:getConfig("const")["shake_level_" .. math.ceil(shakeType / 2)].value / 100
|
||||
if shakeType % 2 == 0 then
|
||||
CacheVector2.x = 0
|
||||
CacheVector2.y = length
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user