# HG changeset patch # User KarstenBock@gmx.net # Date 1316780662 -7200 # Node ID c1a6ea47b838f49444f6b38dafec37ba03b21e6f # Parent a33fdfeb41099582cb235205e177ed27870ac0d0 The Examine action in the context menu will now only be shown when the Entity actually has a description text. diff -r a33fdfeb4109 -r c1a6ea47b838 src/parpg/gamescenecontroller.py --- a/src/parpg/gamescenecontroller.py Fri Sep 23 14:18:42 2011 +0200 +++ b/src/parpg/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],