Skip to content

Commit

Permalink
Remove road labels
Browse files Browse the repository at this point in the history
  • Loading branch information
codergautam committed Dec 14, 2024
1 parent 7081e08 commit 64d6b35
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 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: true }) // rate limit fix: showRoadName true
const [gameOptions, setGameOptions] = useState({ location: "all", maxDist: 20000, official: true, countryMap: false, communityMapName: "", extent: null, showRoadName: false }) // 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: true, // rate limit fix: showRoadName true
showRoadName: false, // rate limit fix: showRoadName true
nm:false,
npz:false
});
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"private": true,
"type": "module",
"scripts": {
"dev": "node welcome.js && npx concurrently \"cross-env UWS_HTTP_MAX_HEADERS_SIZE=16384 nodemon ws/ws --exec \"node --no-warnings=ExperimentalWarning\" --watch ws/ws.js\" \"cross-env nodemon server.js --exec \"node --no-warnings=ExperimentalWarning\" --watch server.js\" \"cross-env nodemon cron.js --exec \"node --no-warnings=ExperimentalWarning\" --watch cron.js\" \"npx next dev\"",
"dev": "node welcome.js && npx concurrently \"cross-env NODE_OPTIONS='--no-warnings' UWS_HTTP_MAX_HEADERS_SIZE=16384 nodemon ws/ws --exec \"node --no-warnings=ExperimentalWarning\" --watch ws/ws.js\" \"cross-env NODE_OPTIONS='--no-warnings' nodemon server.js --exec \"node --no-warnings=ExperimentalWarning\" --watch server.js\" \"cross-env NODE_OPTIONS='--no-warnings' nodemon cron.js --exec \"node --no-warnings=ExperimentalWarning\" --watch cron.js\" \"npx next dev\"",
"build": "cross-env next build",
"start-api": "cross-env NODE_ENV=production node server.js",
"start-ws": "cross-env UWS_HTTP_MAX_HEADERS_SIZE=16384 NODE_ENV=production node ws/ws",
Expand Down

0 comments on commit 64d6b35

Please sign in to comment.