This was true even in the first version over 20 years ago.
In a single player derivative, I remember combing through tons of UScript, unrealscript, stanzas which went something like. "Do this, and if we're in multiplayer, do this too or instead."
The code was a messs, but again, good times.