diff --git a/FlufflParty/.idea/.idea.FlufflParty/.idea/workspace.xml b/FlufflParty/.idea/.idea.FlufflParty/.idea/workspace.xml index ecb6db9..9f3af5c 100644 --- a/FlufflParty/.idea/.idea.FlufflParty/.idea/workspace.xml +++ b/FlufflParty/.idea/.idea.FlufflParty/.idea/workspace.xml @@ -3,14 +3,13 @@ - - - - - + + + + diff --git a/FlufflParty/Assets/Scripts/Client.cs b/FlufflParty/Assets/Scripts/Client.cs index c7b2625..a6ab170 100644 --- a/FlufflParty/Assets/Scripts/Client.cs +++ b/FlufflParty/Assets/Scripts/Client.cs @@ -202,7 +202,7 @@ public class Client : MonoBehaviour stream.Write(new byte[]{6, (byte)action, 0, 0, 0, 0, 0, 0, 0, 0}); } - public void EventStopFinshed() + public void EventStopFinished() { stream.Write(new byte[]{7, 0, 0, 0, 0, 0, 0, 0, 0, 0}); } diff --git a/FlufflParty/Assets/Scripts/Players/NoPlayablePlayer.cs b/FlufflParty/Assets/Scripts/Players/NoPlayablePlayer.cs index 96d3c54..180dae0 100644 --- a/FlufflParty/Assets/Scripts/Players/NoPlayablePlayer.cs +++ b/FlufflParty/Assets/Scripts/Players/NoPlayablePlayer.cs @@ -152,7 +152,7 @@ public class NoPlayablePlayer : Player } } - public void EventStopFinshed() + public void EventStopFinished() { eventstop = false; } diff --git a/FlufflParty/Assets/Scripts/Players/PlayablePlayer.cs b/FlufflParty/Assets/Scripts/Players/PlayablePlayer.cs index 3d27178..68081c6 100644 --- a/FlufflParty/Assets/Scripts/Players/PlayablePlayer.cs +++ b/FlufflParty/Assets/Scripts/Players/PlayablePlayer.cs @@ -40,6 +40,7 @@ public class PlayablePlayer : Player if (Input.GetMouseButtonDown(0)) { eventstop = false; + client.EventStopFinished(); } if (activated && !name.Equals("")) diff --git a/Server/.idea/workspace.xml b/Server/.idea/workspace.xml index a268ca6..4a49e76 100644 --- a/Server/.idea/workspace.xml +++ b/Server/.idea/workspace.xml @@ -9,16 +9,7 @@