add XPerPlayer(player,p1X,p2X) to ProductivityHelpers and use it on SyncInfo
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user