From d7ba852eaffd36d4931df2566dacb0827c377128 Mon Sep 17 00:00:00 2001 From: AJ Kelly Date: Sat, 23 Apr 2011 16:14:24 -0500 Subject: [PATCH] XPerPlayer -> PositionPerPlayer --- Themes/_fallback/Scripts/03 ProductivityHelpers.lua | 2 +- Themes/_fallback/metrics.ini | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Themes/_fallback/Scripts/03 ProductivityHelpers.lua b/Themes/_fallback/Scripts/03 ProductivityHelpers.lua index 1ebe7ea8ba..efe523ddfa 100644 --- a/Themes/_fallback/Scripts/03 ProductivityHelpers.lua +++ b/Themes/_fallback/Scripts/03 ProductivityHelpers.lua @@ -141,7 +141,7 @@ function Actor:xy(actorX,actorY) self:y(actorY) end -function XPerPlayer(player, p1X, p2X) +function PositionPerPlayer(player, p1X, p2X) return player == PLAYER_1 and p1X or p2X end diff --git a/Themes/_fallback/metrics.ini b/Themes/_fallback/metrics.ini index 988dbb012c..8380c12fd9 100644 --- a/Themes/_fallback/metrics.ini +++ b/Themes/_fallback/metrics.ini @@ -3813,7 +3813,7 @@ NextScreen="ScreenOptionsExtended" PlayerType="PlayerSyncMachine" AllowCenter1Player=false -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 +SyncInfoOnCommand=x,PositionPerPlayer(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