From 49ceedf404f41c64dd8af685ab6527143aa626bc Mon Sep 17 00:00:00 2001 From: Waverunner Date: Wed, 19 Mar 2014 17:40:33 -0400 Subject: [PATCH] Fixed check --- scripts/radial/ring/unity.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/radial/ring/unity.py b/scripts/radial/ring/unity.py index 5065a8f4..8c1c4c5d 100644 --- a/scripts/radial/ring/unity.py +++ b/scripts/radial/ring/unity.py @@ -14,7 +14,7 @@ def createRadial(core, owner, target, radials): if ghost.getSpouseName() is None or ghost.getSpouseName() is "": targetPlayer = core.objectService.getObject(owner.getTargetId()) if targetPlayer is not None and targetPlayer.getSlottedObject('ghost') is not None: - if targetPlayer.getObjectID() is owner.getObjectID(): + if targetPlayer.getObjectID() == owner.getObjectID(): return radials.add(RadialOptions(0, 69, 1, '@unity:mnu_propose')) return @@ -105,4 +105,4 @@ def handlePropose(owner, window, eventType, returnList): owner.setAttachment("proposer", None) return - return \ No newline at end of file + return