# HG changeset patch # User Adrianna PiƄska # Date 1283720373 -7200 # Node ID 0e84870388348200c7855ec32cb72089fc425145 # Parent b10dae40dc3281252ae61a6c1161df053a7f1542 fixed crash caused by the manual item's special snowflakeness diff -r b10dae40dc32 -r 0e8487038834 gamelib/cursor.py --- a/gamelib/cursor.py Sat Sep 04 10:38:14 2010 +0200 +++ b/gamelib/cursor.py Sun Sep 05 22:59:33 2010 +0200 @@ -90,7 +90,7 @@ @classmethod def set_cursor(cls, item): - if item is None: + if item is None or item.CURSOR is None: cls.cursor = HAND else: cls.cursor = item.CURSOR diff -r b10dae40dc32 -r 0e8487038834 gamelib/scenes/machine.py --- a/gamelib/scenes/machine.py Sat Sep 04 10:38:14 2010 +0200 +++ b/gamelib/scenes/machine.py Sun Sep 05 22:59:33 2010 +0200 @@ -286,6 +286,9 @@ INVENTORY_IMAGE = "manual.png" CURSOR = None + def is_interactive(self): + return True + def interact_without(self): return Result(detail_view='manual_detail')