Skip to content

Commit

Permalink
Mouse visibility in customize gameplay & replays (fullscreen)
Browse files Browse the repository at this point in the history
  • Loading branch information
poco0317 committed Nov 14, 2018
1 parent 5c0fed2 commit 6c1790e
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
-- Everything relating to the gameplay screen is gradually moved to WifeJudgmentSpotting.lua
local inReplay = GAMESTATE:GetPlayerState(PLAYER_1):GetPlayerController() == "PlayerController_Replay"
local inCustomize = playerConfig:get_data(pn_to_profile_slot(PLAYER_1)).CustomizeGameplay
local t = Def.ActorFrame {}
t[#t + 1] = LoadActor("WifeJudgmentSpotting")
t[#t + 1] = LoadActor("titlesplash")
t[#t + 1] = LoadActor("leaderboard")
if GAMESTATE:GetPlayerState(PLAYER_1):GetPlayerController() == "PlayerController_Replay" then
if inReplay then
t[#t + 1] = LoadActor("replayscrolling")
end
if playerConfig:get_data(pn_to_profile_slot(PLAYER_1)).CustomizeGameplay then
if inCustomize then
t[#t + 1] = LoadActor("messagebox")
end
if inReplay or inCustomize then
t[#t + 1] = LoadActor("../_cursor")
end
return t

0 comments on commit 6c1790e

Please sign in to comment.