From: <che...@us...> - 2007-06-14 23:39:16
|
Revision: 551 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=551&view=rev Author: chef_koch Date: 2007-06-14 16:39:04 -0700 (Thu, 14 Jun 2007) Log Message: ----------- fixed: language is now updated after changed in GUIsettings Modified Paths: -------------- trunk/plugins/My Connect4/Source/MyConnect4/MyConnect4.cs Modified: trunk/plugins/My Connect4/Source/MyConnect4/MyConnect4.cs =================================================================== --- trunk/plugins/My Connect4/Source/MyConnect4/MyConnect4.cs 2007-06-14 23:37:47 UTC (rev 550) +++ trunk/plugins/My Connect4/Source/MyConnect4/MyConnect4.cs 2007-06-14 23:39:04 UTC (rev 551) @@ -181,8 +181,6 @@ public override bool Init() { - MyConnect.GUILocalizeStrings.Load(GUI.Library.GUILocalizeStrings.CurrentLanguage()); - bool result = Load(GUIGraphicsContext.Skin + @"\MyConnect4.xml"); if (ah == null) ah = new OnActionHandler(OnAction2); @@ -196,6 +194,8 @@ protected override void OnPageLoad() { + MyConnect.GUILocalizeStrings.Load(GUI.Library.GUILocalizeStrings.CurrentLanguage()); + _Game.Interval = 300; _Game.Tick += new EventHandler(_Game_Tick); _Game.Start(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |