Merge pull request #74 from XLabsProject/fix/script-error-on-dedicated
Do not interrupt gameplay for GSC errors
This commit is contained in:
commit
fec16c179a
@ -548,7 +548,7 @@ namespace Components
|
||||
{
|
||||
int developer = Dvar::Var("developer").get<int>();
|
||||
|
||||
if (developer > 0)
|
||||
if (developer > 0 && Dedicated::IsEnabled())
|
||||
Utils::Hook::Set<BYTE>(0x48D8C7, 0x75);
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user