[gbrainy] Fixes preview of memory games
- From: Jordi Mas <jmas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gbrainy] Fixes preview of memory games
- Date: Sun, 18 Apr 2010 18:38:36 +0000 (UTC)
commit 1abafa5ae7f7984e9a595b30356c2bfc2b35ca6b
Author: Jordi Mas <jmas softcatala org>
Date: Sun Apr 18 20:39:20 2010 +0200
Fixes preview of memory games
src/Core/Main/Memory.cs | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/Core/Main/Memory.cs b/src/Core/Main/Memory.cs
index b800cef..e68c69b 100644
--- a/src/Core/Main/Memory.cs
+++ b/src/Core/Main/Memory.cs
@@ -69,7 +69,8 @@ namespace gbrainy.Core.Main
public override void Initialize ()
{
- if (Preferences.GetBoolValue (Preferences.MemQuestionWarnKey) == false) {
+ if (Preferences.GetBoolValue (Preferences.MemQuestionWarnKey) == false ||
+ IsPreviewMode == true) {
InitializeGame ();
return;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]