public void answerClicked(int i) { currentTriviaRound.answerChosen(i); if (gameLogic.currentlyNetworking()) { if (gameLogic.isServer) { gameLogic.ourGamestate.RpcUpdateServerAnswerCorrect(currentTriviaRound.correct); gameLogic.ourGamestate.RpcUpdateServerAnswerTime(currentTriviaRound.answerTime); } else { gameLogic.ourGamestate.CmdUpdateClientAnswerCorrect(currentTriviaRound.correct); gameLogic.ourGamestate.CmdUpdateClientAnswerTime(currentTriviaRound.answerTime); } } }