Skip to content
This repository was archived by the owner on Jun 18, 2024. It is now read-only.

Commit 3bdcfad

Browse files
committed
make macros from other bots work
1 parent 41e9bd1 commit 3bdcfad

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

mod.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"gd": {
44
"win": "2.204"
55
},
6-
"version": "v2.8.6",
6+
"version": "v2.8.7",
77
"id": "maxnu.gd_mega_overlay",
88
"name": "GD Mega Overlay",
99
"developers": ["maxnu", "SpaghettDev"],

src/Macrobot/Macrobot.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@ bool Macrobot::load(const std::string& file)
492492

493493
macro = opt.value();
494494

495-
if (macro.botInfo.version != "1.1")
495+
if (macro.botInfo.name == "Macrobot" && macro.botInfo.version != "1.1")
496496
{
497497
macro = Macro();
498498
Common::showWithPriority(FLAlertLayer::create("Error", "This macro was recorded on an older macrobot version!", "Ok"));

0 commit comments

Comments
 (0)