From fa2d24c80262bc7c270bf1240f36adff34d95e6d Mon Sep 17 00:00:00 2001 From: bozimmerman Date: Wed, 29 Aug 2018 21:38:53 +0000 Subject: [PATCH] cross-server introduction system fix. git-svn-id: svn://192.168.1.10/public/CoffeeMud@17159 0d6f1817-ed0e-0410-87c9-987e46238f29 --- com/planet_ink/coffee_mud/MOBS/StdMOB.java | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/com/planet_ink/coffee_mud/MOBS/StdMOB.java b/com/planet_ink/coffee_mud/MOBS/StdMOB.java index fab5ead0d3f..43df5d61f15 100644 --- a/com/planet_ink/coffee_mud/MOBS/StdMOB.java +++ b/com/planet_ink/coffee_mud/MOBS/StdMOB.java @@ -3361,7 +3361,9 @@ public final void apply(final ScriptingEngine S) break; case CMMsg.TYP_SPEAK: { - if ((CMProps.getBoolVar(CMProps.Bool.INTRODUCTIONSYSTEM)) && (!asleep) && (canhearsrc)) + if ((CMProps.getBoolVar(CMProps.Bool.INTRODUCTIONSYSTEM) + || CMProps.get(mySession).getBool(CMProps.Bool.INTRODUCTIONSYSTEM)) + && (!asleep) && (canhearsrc)) CMLib.commands().handleIntroductions(srcM, this, msg.targetMessage()); CMLib.commands().handleBeingSpokenTo(srcM, this, msg.targetMessage()); break; @@ -3493,8 +3495,9 @@ public final void apply(final ScriptingEngine S) else if ((CMath.bset(othersMajor, CMMsg.MASK_SOUND)) && (!asleep) && (canhearsrc)) { - if ((CMProps.getBoolVar(CMProps.Bool.INTRODUCTIONSYSTEM)) - && (msg.othersMinor() == CMMsg.TYP_SPEAK)) + if((msg.othersMinor() == CMMsg.TYP_SPEAK) + && (CMProps.getBoolVar(CMProps.Bool.INTRODUCTIONSYSTEM) + || CMProps.get(mySession).getBool(CMProps.Bool.INTRODUCTIONSYSTEM))) CMLib.commands().handleIntroductions(srcM, this, msg.othersMessage()); tell(srcM, msg.target(), msg.tool(), msg.othersMessage()); }