Skip to content

Commit

Permalink
Pull request
Browse files Browse the repository at this point in the history
  • Loading branch information
Saxashitter committed Oct 25, 2024
2 parents e527134 + 2eb7b55 commit 459e81a
Show file tree
Hide file tree
Showing 16 changed files with 6 additions and 152 deletions.
Binary file removed src/Graphics/PTSR/OT_ITS.lmp
Binary file not shown.
Binary file removed src/Graphics/PTSR/OT_OVERTIME.lmp
Binary file not shown.
8 changes: 1 addition & 7 deletions src/Lua/Functions/Scripts/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -192,12 +192,6 @@ return function(self, maploaded)
if isserver then
CV_Set(CV_FindVar("restrictskinchange"),0)
end

MM_N.ptsr_mode = P_RandomRange(1, 10) >= 7
-- HEADS UP! this might be an external mod in the future when we clean up the code
-- the reason behind this is cause we dislike bloat
-- and i only did this cause i made a promise
-- - saxashitter


MM.runHook("Init")
end
4 changes: 3 additions & 1 deletion src/Lua/Functions/Scripts/startVote.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ return function(self)

MM_N.mapVote = {}

mapmusname = "MMINTR"
mapmusname = "_CHSEL"
S_ChangeMusic(mapmusname)

local addedMaps = 0
Expand Down Expand Up @@ -42,5 +42,7 @@ return function(self)
continue
end
table.insert(MM_N.innocents, p)

p.mm.cur_map = P_RandomRange(1, #MM_N.mapVote) -- Be on random selection when vote starts.
end
end
1 change: 0 additions & 1 deletion src/Lua/Hooks/Game/Manager.lua
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ addScript "Waiting"
addScript "Game Over"

addScript "Overtime"
addScript "PTSR Overtime"
addScript "Showdown"
addScript "Game End"
addScript "Restrict"
Expand Down
1 change: 1 addition & 0 deletions src/Lua/Hooks/Game/Scripts/Gun Manager.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
local getCount = MM.require "Libs/getCount"
local randomPlayer = MM.require "Libs/getRandomPlayer"

local function _eligibleGunPlayer(p)
return p
Expand Down
26 changes: 0 additions & 26 deletions src/Lua/Hooks/Game/Scripts/PTSR Overtime.lua

This file was deleted.

34 changes: 0 additions & 34 deletions src/Lua/Hooks/HUD/Drawers/ptsr_hurryup.lua

This file was deleted.

77 changes: 0 additions & 77 deletions src/Lua/Hooks/HUD/Drawers/ptsr_overtime.lua

This file was deleted.

2 changes: 1 addition & 1 deletion src/Lua/Hooks/HUD/Drawers/results.lua
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ return function(v, p)
display_results = false
end
if (p and p.mm and p.mm.joinedmidgame) then
ft = "You joined during a game!"
ft = "You joined midgame!"
display_results = false
end

Expand Down
2 changes: 0 additions & 2 deletions src/Lua/Hooks/HUD/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,6 @@ addHud "availableitems"
addHud "weapontime"
addHud "info"
addHud "seenplayer"
addHud "ptsr_hurryup"
addHud "ptsr_overtime"
addHud "results"
addHud "showdownanim"
addHud "intermissiontally"
Expand Down
3 changes: 0 additions & 3 deletions src/Lua/Variables/Data/Match.lua
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ return {
showdown_song = "MMOVRT",
showdown_ticker = 0,

ptsr_mode = true,
ptsr_overtime_ticker = 0, -- luigi please fix ur variable names (overtime ticker is showdown ticker)

overtime_point = nil,
overtime_ticker = 0,
overtime_startingdist = 6000*FU,
Expand Down
Binary file removed src/Music/O_MMINTR.ogg
Binary file not shown.
Binary file removed src/Music/O_OTMUSA.ogg
Binary file not shown.
Binary file removed src/Music/O_OTMUSB.ogg
Binary file not shown.
Binary file modified src/Music/O_SHWDW3.ogg
Binary file not shown.

0 comments on commit 459e81a

Please sign in to comment.