Wait, so do I just do
function GameConnection::spawnPlayer()
{
%client.spawnPlayer();
}
Do I add the %client argument to the gameconnection or how does that work?
You don't need to define a function, it already exists
Especially the way you did it, that'll just cause infinite recursion
%client.spawnPlayer(); is all you need to do