From 5bc53fb5a2ee97961ade0fcf5fa02c5b485142b7 Mon Sep 17 00:00:00 2001 From: Walter Bender Date: Sat, 01 Sep 2012 08:51:29 +0000 Subject: only rename storein when modifying connection 1 --- (limited to 'TurtleArt') diff --git a/TurtleArt/tawindow.py b/TurtleArt/tawindow.py index a8b23fa..dcb43a5 100644 --- a/TurtleArt/tawindow.py +++ b/TurtleArt/tawindow.py @@ -1564,7 +1564,10 @@ class TurtleArtWindow(): if blk.connections[0] is None: return False if storein and blk.connections[0].name == 'storein': - return True + if blk.connections[0].connections[1] == blk: + return True + else: + return False if not storein and blk.connections[0].name == 'box': return True return False -- cgit v0.9.1