 					}).setParam(moduleType));
 				
 				//put 'em in a list
-				var moduleList:ButtonList = new ButtonList(listButton.X, listButton.Y, moduleButtons);
+				moduleList = new ButtonList(listButton.X, listButton.Y, moduleButtons);
 				moduleList.setSpacing(4);
 				moduleList.justDie = true;
 				upperLayer.add(moduleList);

				currentModule = null;
			}
			
			if (!tick) return;
			
			if (currentModule) {

		}
		
		protected function placeModule():void {
			new CustomAction(Module.place, Module.remove, currentModule).execute();
			currentModule = null;
		}
