This will crash in --dedicated.
However the correct fix is to have a dummy g_gr object that does nothing for dedicated anyways. Checking that g_gr != nullptr everywhere is not scalable.
This will crash in --dedicated.
However the correct fix is to have a dummy g_gr object that does nothing for dedicated anyways. Checking that g_gr != nullptr everywhere is not scalable.