Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/block.py
diff options
context:
space:
mode:
authorWalter Bender <walter@walter-laptop.(none)>2010-02-03 15:54:47 (GMT)
committer Walter Bender <walter@walter-laptop.(none)>2010-02-03 15:54:47 (GMT)
commit2573df3606380970efb3a106bff10dba0437b6be (patch)
treeaea4a88d7ba34af4a6d6278617b48909835cc809 /block.py
parent7ae60da4a97263c7f2d95cdc934f1e3c0a62f45d (diff)
fixed boolean problem
Diffstat (limited to 'block.py')
-rw-r--r--block.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/block.py b/block.py
index 170e468..7d2a4ec 100644
--- a/block.py
+++ b/block.py
@@ -83,7 +83,6 @@ class Block:
self.docks = None
self.connections = None
self.values = []
- self.content = None
self.primitive = None
self.type = type
self._dx = 0
@@ -105,10 +104,6 @@ class Block:
self._new_block_from_factory(sprite_list, x, y)
- # TODO: add media block graphics here
- if name in CONTENT_BLOCKS:
- self.content = self.name
-
if PRIMITIVES.has_key(name):
self.primitive = PRIMITIVES[self.name]