diff --git a/Themes/_fallback/Scripts/03 ProductivityHelpers.lua b/Themes/_fallback/Scripts/03 ProductivityHelpers.lua index 29f1addd20..1ebe7ea8ba 100644 --- a/Themes/_fallback/Scripts/03 ProductivityHelpers.lua +++ b/Themes/_fallback/Scripts/03 ProductivityHelpers.lua @@ -141,6 +141,10 @@ function Actor:xy(actorX,actorY) self:y(actorY) end +function XPerPlayer(player, p1X, p2X) + return player == PLAYER_1 and p1X or p2X +end + -- MaskSource([clearzbuffer]) -- Sets an actor up as the source for a mask. Clears zBuffer by default. function Actor:MaskSource(noclear) diff --git a/Themes/_fallback/metrics.ini b/Themes/_fallback/metrics.ini index b51a544cd7..988dbb012c 100644 --- a/Themes/_fallback/metrics.ini +++ b/Themes/_fallback/metrics.ini @@ -3813,7 +3813,7 @@ NextScreen="ScreenOptionsExtended" PlayerType="PlayerSyncMachine" AllowCenter1Player=false -SyncInfoOnCommand=x,SCREEN_CENTER_X+160;y,SCREEN_CENTER_Y;zoom,0;decelerate,0.5;zoom,0.6 +SyncInfoOnCommand=x,XPerPlayer(GAMESTATE:GetMasterPlayerNumber(),SCREEN_CENTER_X+160,SCREEN_CENTER_X-160);y,SCREEN_CENTER_Y;zoom,0;decelerate,0.5;zoom,0.6 # hidden by default: LifeP1OnCommand=visible,false