Allow running multiple instances

This commit is contained in:
momo5502 2018-12-25 00:47:17 +01:00
parent 1c6ae05dcb
commit 9c634ab0f2

View File

@ -8,6 +8,11 @@ class ceg final : public module
public: public:
void post_load() override void post_load() override
{ {
if(game::is_dedi()) return;
// Remove improper quit check
utils::hook::nop(SELECT_VALUE(0x53444A, 0x5CCDC0, 0), 9);
// Only SP has CEG // Only SP has CEG
// CEG in MP has accidentally been removed due to CVE-2018-10718 // CEG in MP has accidentally been removed due to CVE-2018-10718
if(!game::is_sp()) return; if(!game::is_sp()) return;