public void CmdEndGame() { if (!IsInPostGame()) { RpcEndGame(); if (networkedPScript == null) { SetNPS(); } networkedPScript.CmdEndGame(); //Let's stop this party } }