Skip to content

Commit

Permalink
Rate limit fix
Browse files Browse the repository at this point in the history
  • Loading branch information
codergautam committed Dec 16, 2024
1 parent d3856e8 commit 4d8c431
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/home.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export default function Home({ }) {
const [streetViewShown, setStreetViewShown] = useState(false)
const [gameOptionsModalShown, setGameOptionsModalShown] = useState(false);
// location aka map slug
const [gameOptions, setGameOptions] = useState({ location: "all", maxDist: 20000, official: true, countryMap: false, communityMapName: "", extent: null, showRoadName: false }) // rate limit fix: showRoadName true
const [gameOptions, setGameOptions] = useState({ location: "all", maxDist: 20000, official: true, countryMap: false, communityMapName: "", extent: null, showRoadName: true }) // rate limit fix: showRoadName true
const [showAnswer, setShowAnswer] = useState(false)
const [pinPoint, setPinPoint] = useState(null)
const [hintShown, setHintShown] = useState(false)
Expand Down
2 changes: 1 addition & 1 deletion components/multiplayerHome.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export default function MultiplayerHome({ ws, setWs, multiplayerError, multiplay

const [selectCountryModalShown, setSelectCountryModalShown] = useState(false);
const [gameOptions, setGameOptions] = useState({
showRoadName: false, // rate limit fix: showRoadName true
showRoadName: true, // rate limit fix: showRoadName true
nm:false,
npz:false
});
Expand Down

0 comments on commit 4d8c431

Please sign in to comment.