Skip to content

Commit

Permalink
Simplify syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
matco committed Oct 4, 2023
1 parent e890e35 commit 4403006
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions source/model/Match.mc
Original file line number Diff line number Diff line change
Expand Up @@ -318,8 +318,7 @@ class Match {
}

function getPlayerIsServer() as Boolean {
var player_corner = getPlayerCorner();
return player_corner == getServingCorner();
return getPlayerCorner() == getServingCorner();
}

//methods used from perspective of player 1 (watch carrier)
Expand Down

0 comments on commit 4403006

Please sign in to comment.