Files
Techmino/parts/eventsets/checkTurn_1.lua
2021-08-28 16:46:10 +08:00

14 lines
315 B
Lua

return{
dropPiece=function(P)
if #PLY_ALIVE>1 then
P.control=false
local ID=P.id
repeat
ID=ID+1
if not PLAYERS[ID]then ID=1 end
until PLAYERS[ID].alive or ID==P.id
PLAYERS[ID].control=true
end
end
}