Code: Select all
// Skip some frame post-pause
// This ensures GUI actions do not "fall-through" to main world
// as closing GUI and picking up next input all happen same-frame
// This also helps prevent fall-through of GUI mouse movements to
// same-frame mouse-look actions
if (wasPaused && frameSkipCount++ < frameSkipTotal)
{
return;
}
Seems like this is probably a framerate-influenced thing. I've been testing in a Mages Guild interior, so very high FPS, around 180 according to the tdbg command.