Skip to content

Commit 30d191c

Browse files
committed
why the fuck did i make that damn mistake
1 parent 41cdaaa commit 30d191c

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

changelog.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
# DeathScreenTweaks Changelog
2+
## v1.7.2
3+
- Fix a bug introduced in v1.7.0 where fake "New Best" messages would spawn in twice on two-player levels. Sorry about that!
24
## v1.7.1
35
- Fixed compatability issues with JFP by changing function hooks.
46
## v1.7.0

mod.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"ios": "2.2074",
77
"android": "2.2074"
88
},
9-
"version": "v1.7.1",
9+
"version": "v1.7.2",
1010
"id": "raydeeux.deathscreentweaks",
1111
"name": "DeathScreenTweaks",
1212
"developers": [

src/PlayerObject.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class $modify(MyPlayerObject, PlayerObject) {
2121

2222
if (!getBool("enabled")) return;
2323
const auto pl = PlayLayer::get();
24-
if (!pl || (this != pl->m_player1 && this != pl->m_player2)) return;
24+
if (!pl || this != pl->m_player1) return;
2525
const auto theLevel = pl->m_level;
2626
if (!theLevel || theLevel->isPlatformer()) return;
2727
if (this == pl->m_player2 && theLevel->m_twoPlayerMode) return;

0 commit comments

Comments
 (0)