Do not interrupt gameplay for GSC errors

Make iw4x developers life easier by not freezing their game up for GSC errors in basegame GSCs 🗡️ 
I understand why this feature exists, but it makes developing for iw4x impossible unless you comment it out - so maybe it doesn't belong on graphical clients.
This commit is contained in:
Louve 2021-05-02 11:53:58 +02:00 committed by GitHub
parent 640db8a3e6
commit a4ebcbeb60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);
});