Skip to content

Commit

Permalink
Merge pull request #21 from Nickito12/RemoveRestartOnline
Browse files Browse the repository at this point in the history
Remove gameplay restart button online
  • Loading branch information
martensm authored Jul 23, 2017
2 parents f7e1769 + 03a2a83 commit 3559a5d
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,9 @@ end
local t = Def.ActorFrame{
Name = "WifePerch",
OnCommand=function()
SCREENMAN:GetTopScreen():AddInputCallback(froot)
if not IsNetSMOnline() then
SCREENMAN:GetTopScreen():AddInputCallback(froot)
end
if(playerConfig:get_data(pn_to_profile_slot(PLAYER_1)).CustomizeGameplay) then
SCREENMAN:GetTopScreen():AddInputCallback(firstHalfInput)
SCREENMAN:GetTopScreen():AddInputCallback(secondHalfInput)
Expand Down

0 comments on commit 3559a5d

Please sign in to comment.