整理代码,SFX模块load时会提示缺失多少音效

This commit is contained in:
MrZ626
2021-12-01 19:23:39 +08:00
parent e7b4518d73
commit 915598dec4
5 changed files with 40 additions and 30 deletions

View File

@@ -23,8 +23,7 @@ local fs=love.filesystem
VERSION=require"version"
TIME=love.timer.getTime
YIELD=coroutine.yield
SYSTEM=love.system.getOS()
if SYSTEM=='OS X'then SYSTEM='macOS'end
SYSTEM=love.system.getOS()if SYSTEM=='OS X'then SYSTEM='macOS'end
FNSF=SYSTEM:find'\79\83'--What does FNSF stand for? IDK so don't ask me lol
MOBILE=SYSTEM=='Android'or SYSTEM=='iOS'
SAVEDIR=fs.getSaveDirectory()