修复复活和联网玩家进入挂起状态检测顺序错误
This commit is contained in:
@@ -1712,8 +1712,10 @@ function Player:win(result)
|
||||
end
|
||||
function Player:lose(force)
|
||||
if self.result then return end
|
||||
if self.type=='remote'and not force then self.waiting=1e99 return end
|
||||
if self.life>0 and not force then self:revive()return end
|
||||
if not force then
|
||||
if self.life>0 then self:revive()return end
|
||||
if self.type=='remote'then self.waiting=1e99 return end
|
||||
end
|
||||
self:die()
|
||||
local p=TABLE.find(PLY_ALIVE,self)if p then rem(PLY_ALIVE,p)end
|
||||
self.result='lose'
|
||||
|
||||
Reference in New Issue
Block a user