Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
36134572af |
@ -490,6 +490,24 @@ local function think()
|
||||
end
|
||||
end
|
||||
|
||||
-- Autospec
|
||||
if leveltime == 1 then
|
||||
local gamer = nil
|
||||
for p in players.iterate do
|
||||
if p.valid and not p.spectator then
|
||||
gamer = #p
|
||||
end
|
||||
end
|
||||
if gamer then
|
||||
for p in players.iterate do
|
||||
if p.valid and p.spectator then
|
||||
COM_BufInsertText(p, string.format("view \"%d\"", gamer))
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
-- Gamemode flags
|
||||
Flags = $ & !(F_SPBATK | F_SPBEXP | F_SPBBIG | F_SPBJUS)
|
||||
if leveltime > startTime - (3 * TICRATE) / 2 and server.SPBArunning then
|
||||
Flags = $ | F_SPBATK
|
||||
|
Reference in New Issue
Block a user