# HG changeset patch # User KarstenBock@gmx.net # Date 1316780662 -7200 # Node ID e864b704dd594a0b9162eea57d158cecb9fcf2c5 # Parent 28561412c7e70eac0f7cd2a4f95ef6a9eb2f2b12 The Examine action in the context menu will now only be shown when the Entity actually has a description text. diff -r 28561412c7e7 -r e864b704dd59 gamescenecontroller.py --- a/gamescenecontroller.py Fri Sep 23 14:18:42 2011 +0200 +++ b/gamescenecontroller.py Fri Sep 23 14:24:22 2011 +0200 @@ -439,7 +439,7 @@ actions.append(["Talk", "Talk", self.initTalk, obj]) if obj.characterstats and not is_player: actions.append(["Attack", "Attack", self.nullFunc, obj]) - if obj.description: + if obj.description and obj.description.desc: actions.append(["Examine", "Examine", player.fifeagent.behaviour.approach, [obj_pos.x, obj_pos.y],