玩家新增getCenterX方法,移除SFX.fieldPlay

This commit is contained in:
MrZ626
2021-03-25 15:28:15 +08:00
parent 7d5059c6ca
commit f7ece80bec
3 changed files with 13 additions and 13 deletions

View File

@@ -25,9 +25,6 @@ function SFX.init(list)
end
SFX.loadOne=nil
function SFX.fieldPlay(s,v,P)
SFX.play(s,v,(P.curX+P.cur.sc[2]-5.5)*.15)
end
function SFX.play(s,vol,pos)
if SETTING.sfx==0 or vol==0 then return end
local S=Sources[s]--Source list