Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
minaschar committed Jun 19, 2022
1 parent d2affc7 commit 2778e1c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -829,7 +829,7 @@ private void listenEvent() {
//Insert 3point's action to firebase
Action treePointThrowAction = null;
Action treePointThrowComment = null;
if (this.match.getTeamLandlord_id() == this.playerObjChecked.getId()) {
if (this.match.getTeamLandlord_id() == this.teamObj.getId()) {
treePointThrowAction = new Shot(binding.clock.getText().toString(), BelongsTo.HOME, playerObjChecked, teamObj, ShotType.THREE_POINTER, true, this.assistMade);
treePointThrowComment = new ShotComment(binding.clock.getText().toString(), BelongsTo.HOME, playerObjChecked, teamObj, ShotType.THREE_POINTER, true, this.assistMade, getContext());
} else if (this.match.getTeamguest_id() == this.teamObj.getId()) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

public class Config {

public static final String IP = "172.28.80.1";
public static final String IP = "192.168.56.1";
public static final String API_URL = "http://" + IP + "/WeBall_Statistics-Backend/API/";
public static final String MATCHES_API = "http://" + IP + "/weBall_Statistics-Backend/API/match.php";
public static final String API_REFEREE = "referee.php";
Expand Down

0 comments on commit 2778e1c

Please sign in to comment.