Gistix / portal2vr

Portal 2 VR Mod
752 stars 19 forks source link

Update dllmain.cpp #40

Open iam4k33m opened 11 months ago

iam4k33m commented 11 months ago

VR mod causes game to quit if -insecure flag isn't set, but Portal 2 doesn't use VAC. Workaround replaces this behaviour with a warning that can be hidden with -secure_ignore

hero622 commented 11 months ago

whats the point? also why have 2 loops when you can just add that to the other loop?

iam4k33m commented 11 months ago

whats the point? also why have 2 loops when you can just add that to the other loop?

It's just a slight change to make the game behave more consistently. Yeah that'd work, I just threw it together quickly tbh