Commit 659c4465 authored by bogdanbear's avatar bogdanbear

use getIsPlaying()

parent 37d383eb
......@@ -34,9 +34,6 @@ public class LocalGameLoop extends Thread{
private Relayer followedRelayer;
private boolean isPlaying=false;
private boolean shouldRPC=false;
public Relayer getFollowedRelayer() {
try {
......@@ -121,7 +118,7 @@ public class LocalGameLoop extends Thread{
} catch (InterruptedException e) {
e.printStackTrace();
}
if (LocalGameLoop.getInstance().isPlaying) {
if (LocalGameLoop.getInstance().getIsPlaying()) {
//System.out.println("Broken Connection verifier!");
if (getNetworkConnection().isBroken())
GameStarter.initiateBrokenConnectionMeasures();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment