Skip to content

Commit

Permalink
Merge pull request #156 from GameLab-UNIL-EPFL/BrasserieBugFix
Browse files Browse the repository at this point in the history
Fixed brasserie bug
  • Loading branch information
dobios authored May 12, 2022
2 parents 4e8f627 + 55bcc5b commit 1e2e416
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Context.cs
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,8 @@ public Vector2 _GetPlayerPosition() {
case Locations.FLON:
return FlonEnterPosition;
case Locations.BRASSERIE:
if(BrewerPreviousPos != Vector2.Zero)
return BrewerPreviousPos;
return BrasserieEnterPosition;
case Locations.CASINO:
return CasinoEnterPosition;
Expand Down

0 comments on commit 1e2e416

Please sign in to comment.