add steamid function

This commit is contained in:
Huoji's
2023-10-10 21:15:42 +08:00
parent 4af3ba8ffb
commit 0266a48c88
2 changed files with 11 additions and 3 deletions

View File

@@ -56,9 +56,6 @@ void __fastcall hook_GameFrame(void* rcx, bool simulating, bool bFirstTick,
* true | game is ticking
* false | game is not ticking
*/
if (global::GlobalVars == nullptr) {
global::GlobalVars = GetGameGlobals();
}
if (global::GlobalVars != nullptr) {
if (simulating && global::HasTicked) {
global::m_flUniversalTime +=