Skip to content

Commit

Permalink
Fix bug resulting in huge PP buffs at small circle sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
oamaok committed Aug 22, 2016
1 parent 15227a5 commit b58c7d5
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 9 deletions.
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ezpp!",
"version": "1.2.9",
"version": "1.2.10",
"description": "Browser extension for calculating pp!",
"main": "src/js/index.js",
"dependencies": {
Expand All @@ -14,7 +14,7 @@
"json-loader": "^0.5.4",
"node-sass": "^3.7.0",
"osu-parser-web": "git+https://github.com/oamaok/osu-parser-web.git",
"osu-pp-calculator": "^0.1.4",
"osu-pp-calculator": "^0.1.6",
"postcss-loader": "^0.9.1",
"sass-loader": "^3.2.0",
"showdown": "^1.4.2",
Expand All @@ -31,10 +31,10 @@
"eslint-plugin-react": "^5.2.2"
},
"scripts": {
"dev-chrome": "BUILD_CHROME=1 NODE_ENV=development webpack -w",
"dev-firefox": "BUILD_FF=1 NODE_ENV=development webpack -w",
"release-chrome": "rm -rf dist/ ezpp.zip ezpp.xpi && BUILD_CHROME=1 NODE_ENV=production webpack -p && zip -jr ezpp.zip dist/*",
"release-firefox": "rm -rf dist/ ezpp.zip ezpp.xpi && BUILD_FF=1 NODE_ENV=production webpack -p && zip -jr ezpp.xpi dist/*",
"dev:chrome": "BUILD_CHROME=1 NODE_ENV=development webpack -w",
"dev:firefox": "BUILD_FF=1 NODE_ENV=development webpack -w",
"release:chrome": "rm -rf dist/ ezpp.zip ezpp.xpi && BUILD_CHROME=1 NODE_ENV=production webpack -p && zip -jr ezpp.zip dist/*",
"release:firefox": "rm -rf dist/ ezpp.zip ezpp.xpi && BUILD_FF=1 NODE_ENV=production webpack -p && zip -jr ezpp.xpi dist/*",
"lint": "eslint .",
"lint:fix": "eslint --fix ."
},
Expand Down
4 changes: 2 additions & 2 deletions src/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -181,9 +181,9 @@ chrome.tabs.query({
cleanBeatmap = beatmap;

// Support old beatmap
cleanBeatmap.Mode = cleanBeatmap.Mode || '0';
cleanBeatmap.Mode = Number(cleanBeatmap.Mode || 0);

if (cleanBeatmap.Mode !== '0') {
if (cleanBeatmap.Mode !== 0) {
throw Error('Unsupported gamemode :(');
}

Expand Down
3 changes: 3 additions & 0 deletions src/static/changelog.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@

[google web store](https://chrome.google.com/webstore/detail/ezpp/aimihpobjpagjiakhcpijibnaafdniol) - [source code](https://github.com/oamaok/ezpp) - [issues](https://github.com/oamaok/ezpp/issues) - [twitter](https://twitter.com/oamaok)

## v1.2.10
- Fix CS buff not capping at CS5

## v1.2.9
- Fix not being able to select mods

Expand Down
2 changes: 1 addition & 1 deletion src/static/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifest_version": 2,
"name": "ezpp!",
"description": "Directly calculate pp for a beatmap in your browser.",
"version": "1.2.9",
"version": "1.2.10",
"icons": {
"48": "icon48.png",
"128": "icon128.png"
Expand Down

0 comments on commit b58c7d5

Please sign in to comment.