Skip to content

Commit

Permalink
remove some more p2 stuff from themes
Browse files Browse the repository at this point in the history
  • Loading branch information
MinaciousGrace committed Dec 6, 2018
1 parent 49fafbb commit ec0af44
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,10 @@ local allowedCustomization = playerConfig:get_data(pn_to_profile_slot(PLAYER_1))
local enabled = {
NPSDisplay = {
PlayerNumber_P1 = GAMESTATE:IsPlayerEnabled(PLAYER_1) and
playerConfig:get_data(pn_to_profile_slot(PLAYER_1)).NPSDisplay,
PlayerNumber_P2 = GAMESTATE:IsPlayerEnabled(PLAYER_2) and
playerConfig:get_data(pn_to_profile_slot(PLAYER_2)).NPSDisplay
playerConfig:get_data(pn_to_profile_slot(PLAYER_1)).NPSDisplay
},
NPSGraph = {
PlayerNumber_P1 = GAMESTATE:IsPlayerEnabled(PLAYER_1) and playerConfig:get_data(pn_to_profile_slot(PLAYER_1)).NPSGraph,
PlayerNumber_P2 = GAMESTATE:IsPlayerEnabled(PLAYER_2) and playerConfig:get_data(pn_to_profile_slot(PLAYER_2)).NPSGraph
PlayerNumber_P1 = GAMESTATE:IsPlayerEnabled(PLAYER_1) and playerConfig:get_data(pn_to_profile_slot(PLAYER_1)).NPSGraph
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,6 @@ local function input(event)
SCREENMAN:AddNewScreenToTop("ScreenAvatarSwitch")
end
end
if GAMESTATE:IsPlayerEnabled(PLAYER_2) then
if isOver(top:GetChild("Overlay"):GetChild("PlayerAvatar"):GetChild("Avatar" .. PLAYER_2):GetChild("Image")) then
SCREENMAN:AddNewScreenToTop("ScreenAvatarSwitch")
end
end
end
end
return false
Expand Down

0 comments on commit ec0af44

Please sign in to comment.