v1.2.2
This commit is contained in:
parent
8f8dd18c6b
commit
190f94b2b9
@ -127,11 +127,13 @@ local function exitlevel(player, ...)
|
||||
end
|
||||
COM_AddCommand("exit", exitlevel)
|
||||
|
||||
COM_AddCommand("spba_clearcheats", function(player)
|
||||
local function clearcheats(player)
|
||||
if not player.spectator then
|
||||
clearcheats = true
|
||||
CONS_Printf(player, "SPB Attack cheats will be cleared on next round")
|
||||
end
|
||||
)
|
||||
end
|
||||
COM_AddCommand("spba_clearcheats", clearcheats)
|
||||
|
||||
--DEBUGGING
|
||||
--local function printTable(tb)
|
||||
@ -332,7 +334,7 @@ local function saveTime(player)
|
||||
gamemap,
|
||||
player.name,
|
||||
player.mo.skin,
|
||||
player.mo.color,
|
||||
player.skincolor,
|
||||
timeFinished,
|
||||
splits,
|
||||
Flags
|
||||
@ -416,7 +418,7 @@ local function think()
|
||||
|
||||
if leveltime < startTime then
|
||||
Flags = $ & !(F_SPBATK | F_SPBEXP | F_SPBBIG | F_SPBJUS)
|
||||
if server.SPBArunning then
|
||||
if leveltime > startTime - (3 * TICRATE) / 2 and server.SPBArunning then
|
||||
Flags = $ | F_SPBATK
|
||||
if server.SPBAexpert then
|
||||
Flags = $ | F_SPBEXP
|
||||
@ -430,6 +432,7 @@ local function think()
|
||||
end
|
||||
end
|
||||
for p in players.iterate do
|
||||
if not p.spectator then
|
||||
if p.SPBAKARTBIG then
|
||||
Flags = $ | F_SPBBIG
|
||||
end
|
||||
@ -439,6 +442,7 @@ local function think()
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
for p in players.iterate do
|
||||
if p.laps >= mapheaderinfo[gamemap].numlaps and timeFinished == 0 then
|
||||
|
Loading…
Reference in New Issue
Block a user