mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-27 01:45:35 -05:00
Fix autoEnableHook not affecting mod enabling
This commit is contained in:
parent
e89a792293
commit
abad98f951
1 changed files with 3 additions and 1 deletions
|
@ -356,7 +356,9 @@ Result<> Mod::Impl::enable() {
|
|||
}
|
||||
|
||||
for (auto const& hook : m_hooks) {
|
||||
GEODE_UNWRAP(this->enableHook(hook));
|
||||
if (hook->getAutoEnable()) {
|
||||
GEODE_UNWRAP(this->enableHook(hook));
|
||||
}
|
||||
}
|
||||
|
||||
for (auto const& patch : m_patches) {
|
||||
|
|
Loading…
Reference in a new issue