Changeset 493:cb2060f8316f


Ignore:
Timestamp:
04/09/11 20:41:38 (12 years ago)
Author:
Simon Cross <hodgestar@…>
Branch:
default
Phase:
public
Rebase:
36303034396262383863653438323661313965623436633334633063636664393764376663343265
Message:

Tweak gamestate to fail earlier on unknown items.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • skaapsteker/gamestate.py

    r490 r493  
    8787
    8888    def create_item_sprite(self, item, to_level=None, to_pos=None):
    89         itemdef = self.data['items'].get(item)
     89        itemdef = self.data['items'][item]
    9090
    9191        if to_level is not None:
Note: See TracChangeset for help on using the changeset viewer.