整理代码,较复杂的单行if-then-end拆成多行
This commit is contained in:
@@ -7,7 +7,9 @@ local function _modComp(a,b)
|
||||
end
|
||||
local function _remMod(M)
|
||||
local i=TABLE.find(GAME.mod,M)
|
||||
if i then rem(GAME.mod,i)end
|
||||
if i then
|
||||
rem(GAME.mod,i)
|
||||
end
|
||||
end
|
||||
local function _toggleMod(M,back)
|
||||
if M.sel==0 then
|
||||
|
||||
Reference in New Issue
Block a user