瀏覽代碼

small fix for v1.25

meidomustard 5 年之前
父節點
當前提交
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)

二進制
MultipleMaids/lib/Assembly-CSharp-firstpass.dll


二進制
MultipleMaids/lib/Assembly-CSharp.dll