Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/Hindi/C3P0GitHub
Browse files Browse the repository at this point in the history
  • Loading branch information
Raphaël LEJOLIVET committed Feb 10, 2015
2 parents c7e37eb + ed332b1 commit f60744a
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 6 deletions.
Binary file removed Assets/MasterServer/MasterServer.exe
Binary file not shown.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Assets/Scripts/Game specific/SpaceInvader/AliensManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ public void onAlienDeath()
if (deathCount == alienCount)
{
EventManager<bool>.Raise(EnumEvent.RESTARTGAME, true);
victoryCount++;
victoryCount += 2;
}
}

Expand Down
2 changes: 1 addition & 1 deletion Assets/Scripts/Game/QuestionManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ public void update()
{
if(waitForAnswers)
{
if(Time.time - questionSendTime > 5)
if(Time.time - questionSendTime > 15)
{
checkClientsAnswers();
sendResults();
Expand Down
2 changes: 1 addition & 1 deletion Assets/Scripts/Network/C3PONetwork.cs
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ public void broadCastSomething(string s)
public void createTeacherServer()
{
/* Launch MasterServer */
System.Diagnostics.Process.Start(Application.dataPath + @"\MasterServer\MasterServer.exe");
System.Diagnostics.Process.Start(Application.dataPath + @"\Resources\MasterServer\MasterServer.exe");

/* Bind to it */
MasterServer.port = masterPort;
Expand Down
2 changes: 1 addition & 1 deletion Assets/Scripts/UI/QuestionAnswerMenu.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public class QuestionAnswerMenu : MonoBehaviour {

bool answered;
private float startTime;
private const float questionTime = 5;
private const float questionTime = 15;

public void setQuestionText(string q)
{
Expand Down

0 comments on commit f60744a

Please sign in to comment.