4 Years Ago
Fix GetEyeTraceNoCursor caching (#1645) * Fix GetEyeTraceNoCursor caching Fixes garrysmod-issues/issues/4430. Also - Use FrameNumber instead of CurTime for caching so that it doesn't clash with prediction - Added skipcache arg to both GetEyeTrace and GetEyeTraceNoCursor for skipping the clientside cache - Check if the PlayerTrace/PlayerAimTrace vars are tables before returning them in-case they're modified by other addons accidentally * Fix styling * Remove skipcache arg