reverting scoring changes and probably some fucking eol bullshit
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
local function Beat(self)
|
||||
-- too many locals
|
||||
local this = self:GetChildren()
|
||||
local player = GAMESTATE:GetMasterPlayerNumber()
|
||||
local player = Var "Player" or GAMESTATE:GetMasterPlayerNumber()
|
||||
local playerstate = GAMESTATE:GetPlayerState( player )
|
||||
local songposition = playerstate:GetSongPosition() -- GAMESTATE:GetSongPosition()
|
||||
|
||||
|
||||
@@ -319,8 +319,13 @@ end
|
||||
-- Formulas end here.
|
||||
for v in ivalues(DisabledScoringModes) do r[v] = nil end
|
||||
Scoring = {}
|
||||
setmetatable(Scoring, { __index = function(...) return function(params,pss)
|
||||
--put any code here that should run before every scoring function
|
||||
if not GAMESTATE:IsHumanPlayer(params.Player) and type(r[key]) == "function" then
|
||||
return r[key](...) end
|
||||
end })
|
||||
setmetatable(Scoring, {
|
||||
__metatable = { "Letting you change the metatable sort of defeats the purpose." },
|
||||
__index = function(tbl, key)
|
||||
for v in ivalues(DisabledScoringModes) do
|
||||
if key == v then return r['DDR Extreme'] end
|
||||
end
|
||||
return r[key]
|
||||
end,
|
||||
}
|
||||
);
|
||||
Reference in New Issue
Block a user