@ -121,9 +121,9 @@ bool Crawler::OnUserUpdate(float fElapsedTime){
fElapsedTime=std::clamp(fElapsedTime,0.f,1/30.f); //HACK fix. We can't have a negative time. Although using a more precise system clock should make this never occur. Also make sure if the game is too slow we advance by only 1/30th of a second.
levelTime+=fElapsedTime;
GameState::STATE->OnUserUpdate(this);
game->RenderWorld(game->GetElapsedTime());
game->RenderHud();
game->RenderMenu();
RenderWorld(GetElapsedTime());
RenderHud();
RenderMenu();
GameState::STATE->Draw(this);
return true;
}