修复读取到本地没有的旋转系统会直接蓝屏

升级房间版本号
整理代码
This commit is contained in:
MrZ626
2021-08-01 19:47:59 +08:00
parent adefb776fe
commit 0b9006faf3
3 changed files with 5 additions and 6 deletions

View File

@@ -3,7 +3,7 @@ VERSION={
code=1600,
short="V0.16.0",
string="Alpha V0.16.0",
room="V1.0",
room="V1.1",
name="空间站 Space station",
}
function love.conf(t)

View File

@@ -350,9 +350,9 @@ local function applyGameEnv(P)--Finish gameEnv processing
if ENV.splashFX==0 then ENV.splashFX=false end
if ENV.shakeFX==0 then ENV.shakeFX=false end
if ENV.atkFX==0 then ENV.atkFX=false end
if ENV.ghost==0 then ENV.ghost=false end
if ENV.grid==0 then ENV.grid=false end
if ENV.center==0 then ENV.center=false end
if ENV.ghost==0 then ENV.ghost=false end
if ENV.grid==0 then ENV.grid=false end
if ENV.center==0 then ENV.center=false end
end
--------------------------</Libs>--------------------------
@@ -408,7 +408,6 @@ function PLY.newRemotePlayer(id,mini,ply)
loadRemoteEnv(P,ply.config)
applyGameEnv(P)
end
function PLY.newAIPlayer(id,AIdata,mini)
local P=newEmptyPlayer(id,mini)
P.type='computer'

View File

@@ -222,7 +222,7 @@ function Player:setInvisible(time)--Time in frames
end
end
function Player:setRS(RSname)
self.RS=kickList[RSname]
self.RS=kickList[RSname]or kickList.TRS
end
function Player:getHolePos()--Get a good garbage-line hole position