[longomatch] Load game unit in player when selected



commit 81a8e4103862b6e43316b17a03026f8545861fc6
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Thu Feb 2 23:36:15 2012 +0100

    Load game unit in player when selected

 LongoMatch.Services/Services/GameUnitsManager.cs |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/LongoMatch.Services/Services/GameUnitsManager.cs b/LongoMatch.Services/Services/GameUnitsManager.cs
index 694fd21..6969168 100644
--- a/LongoMatch.Services/Services/GameUnitsManager.cs
+++ b/LongoMatch.Services/Services/GameUnitsManager.cs
@@ -122,6 +122,7 @@ namespace LongoMatch.Services
 		void HandleUnitSelected (GameUnit gameUnit, TimelineNode unit)
 		{
 			unit.Selected = true;
+			player.SetStartStop(unit.Start.MSeconds, unit.Stop.MSeconds);
 		}
 
 		void HandleUnitDeleted (GameUnit gameUnit, List<TimelineNode> units)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]