Quellcode durchsuchen

small fix for v1.25

meidomustard vor 5 Jahren
Ursprung
Commit
2b2cd49959

+ 1 - 1
MultipleMaids/CM3D2/MultipleMaids/Plugin/MultipleMaids.Gui.cs

@@ -9150,7 +9150,7 @@ namespace CM3D2.MultipleMaids.Plugin
             component.ProcessText();
             SetFieldValue2<UILabel, int>(component, "mFontSize", fontSize);
             SetFieldValue5<MessageClass, UILabel>(inst, "message_label_", component);
-            inst.SetText(inName, inText, "", 0);
+            inst.SetText(inName, inText, "", 0, AudioSourceMgr.Type.System);
             inst.FinishChAnime();
         }
     }

+ 1 - 1
MultipleMaids/CM3D2/MultipleMaids/Plugin/MultipleMaids.Update.cs

@@ -3476,7 +3476,7 @@ namespace CM3D2.MultipleMaids.Plugin
                             MessageWindowMgr messageWindowMgr = GameMain.Instance.ScriptMgr.adv_kag.MessageWindowMgr;
                             messageWindowMgr.OpenMessageWindowPanel();
                             MessageClass messageClass = new MessageClass(gameObject, messageWindowMgr);
-                            messageClass.SetText(inName, inText, "", 0);
+                            messageClass.SetText(inName, inText, "", 0, AudioSourceMgr.Type.System);
                             messageClass.FinishChAnime();
                         }
                         else if (isMessage)

BIN
MultipleMaids/lib/Assembly-CSharp-firstpass.dll


BIN
MultipleMaids/lib/Assembly-CSharp.dll