fixed previous

This commit is contained in:
AlexE030
2023-02-07 21:07:12 +01:00
parent f36dd36d21
commit a1a583492b
8 changed files with 9 additions and 18 deletions
+5 -6
View File
@@ -3,14 +3,13 @@
<component name="ChangeListManager">
<list default="true" id="f0abe486-ee58-49bd-ad63-04a8b3fc78ec" name="Changes" comment="">
<change beforePath="$PROJECT_DIR$/.idea/.idea.FlufflParty/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/.idea.FlufflParty/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Assets/Prefabs/Player.prefab" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/Prefabs/Player.prefab" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Assets/Scenes/WesternMap.unity" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/Scenes/WesternMap.unity" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Assets/Scripts/Client.cs" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/Scripts/Client.cs" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Assets/Scripts/Players/NoPlayablePlayer.cs" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/Scripts/Players/NoPlayablePlayer.cs" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Assets/Scripts/Players/PlayablePlayer.cs" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/Scripts/Players/PlayablePlayer.cs" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Assets/Scripts/Players/Player.cs" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/Scripts/Players/Player.cs" afterDir="false" />
<change beforePath="$PROJECT_DIR$/ProjectSettings/Packages/com.unity.testtools.codecoverage/Settings.json" beforeDir="false" afterPath="$PROJECT_DIR$/ProjectSettings/Packages/com.unity.testtools.codecoverage/Settings.json" afterDir="false" />
<change beforePath="$PROJECT_DIR$/UserSettings/EditorUserSettings.asset" beforeDir="false" afterPath="$PROJECT_DIR$/UserSettings/EditorUserSettings.asset" afterDir="false" />
<change beforePath="$PROJECT_DIR$/../Server/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/../Server/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/../Server/out/artifacts/Server_jar/Server.jar" beforeDir="false" afterPath="$PROJECT_DIR$/../Server/out/artifacts/Server_jar/Server.jar" afterDir="false" />
<change beforePath="$PROJECT_DIR$/../Server/out/production/Server/Room$2.class" beforeDir="false" afterPath="$PROJECT_DIR$/../Server/out/production/Server/Room$2.class" afterDir="false" />
<change beforePath="$PROJECT_DIR$/../Server/out/production/Server/Room.class" beforeDir="false" afterPath="$PROJECT_DIR$/../Server/out/production/Server/Room.class" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
@@ -130,7 +129,7 @@
<workItem from="1675541927675" duration="3056000" />
<workItem from="1675598313139" duration="8968000" />
<workItem from="1675795702707" duration="512000" />
<workItem from="1675797317461" duration="2331000" />
<workItem from="1675797317461" duration="3055000" />
</task>
<servers />
</component>
+1 -1
View File
@@ -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});
}
@@ -152,7 +152,7 @@ public class NoPlayablePlayer : Player
}
}
public void EventStopFinshed()
public void EventStopFinished()
{
eventstop = false;
}
@@ -40,6 +40,7 @@ public class PlayablePlayer : Player
if (Input.GetMouseButtonDown(0))
{
eventstop = false;
client.EventStopFinished();
}
if (activated && !name.Equals(""))