Skip to content

Commit 4bb588d

Browse files
committed
Update ClientSetup.h
1 parent 90e41da commit 4bb588d

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/Client/ClientSetup.h

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -424,8 +424,11 @@ class ClientUtils
424424
{
425425
auto mod = Client::GetModule(hack);
426426

427-
mod->setIncompatible("This mod has not <cg>yet</c> been ported to <cl>macOS</c>");
428-
mod->enabled = false;
427+
if (mod)
428+
{
429+
mod->setIncompatible("This mod has not <cg>yet</c> been ported to <cl>macOS</c>");
430+
mod->enabled = false;
431+
}
429432
}
430433

431434
#endif

0 commit comments

Comments
 (0)