Commit e67815a1 authored by Arnaud Guerquin's avatar Arnaud Guerquin
Browse files

Changed semaphore

parent a77cd37a
......@@ -20,7 +20,7 @@ public class GameState implements Serializable{
private ArrayList<Being> beings=new ArrayList<>();
private ArrayList<Character> characters=new ArrayList<>();
private ArrayList<Entity> entities=new ArrayList<>();
private Semaphore sem=new Semaphore(0);
private Semaphore sem=new Semaphore(1);
* Constructs a new empty gamestate.
Supports Markdown
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