Skip to content

Commit 75b0111

Browse files
committed
Backwards compat
1 parent 269a019 commit 75b0111

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/main.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,11 @@ void loadShaders() {
9999
};
100100

101101
$on_mod(Loaded) {
102+
103+
if (Mod::get()->hasSavedValue("p1-color") && !Mod::get()->hasSavedValue("override-color")) {
104+
Mod::get()->setSavedValue("override-color", true);
105+
}
106+
102107
loadShaders();
103108
listenForSettingChanges("alternative-shader", [](bool) {
104109
loadShaders();

0 commit comments

Comments
 (0)