[gbrainy] Honor norandom for custom play lists
- From: Jordi Mas <jmas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gbrainy] Honor norandom for custom play lists
- Date: Tue, 3 May 2011 18:19:24 +0000 (UTC)
commit 893abe890d1335799edf492a5c59c7bbecef0b4c
Author: Jordi Mas <jmas softcatala org>
Date: Tue May 3 20:18:42 2011 +0200
Honor norandom for custom play lists
src/Clients/Classical/gbrainy.cs | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/Clients/Classical/gbrainy.cs b/src/Clients/Classical/gbrainy.cs
index 0cecc31..2adcc11 100644
--- a/src/Clients/Classical/gbrainy.cs
+++ b/src/Clients/Classical/gbrainy.cs
@@ -755,11 +755,12 @@ namespace gbrainy.Clients.Classical
#endif
app.Initialize ();
+ // Set RandomOrder before setting the custom list then it has effect of custom games
+ app.Session.GameManager.RandomOrder = line.RandomOrder;
if (line.PlayList.Length > 0) {
app.Session.GameManager.PlayList = line.PlayList;
app.InitialSessionType = GameSession.Types.Custom;
}
- app.Session.GameManager.RandomOrder = line.RandomOrder;
app.ProcessDefaults ();
ThemeManager.Load ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]