rem:   if (event.button == SDL_BUTTON_RIGHT && event.clicks == 1) { handler(event.entity); }  endSelection(); }); 
add:   if (event.button == SDL_BUTTON_RIGHT && event.clicks == 1) { handler(event.entity); }  endSelection(); }); 
context: function selectEntity(handler){	endSelection();	startSelection(function (event) {			// Selection is performed when single-clicking the right mouse			// button.			if (event.button == SDL_BUTTON_RIGHT && event.clicks == 1)			{				handler(event.entity);			}			// End selection on first mouse-click			endSelection();		});}
meta: 1070	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1070/43323342db248d6227b69129e134b6eea35acbfa/functions_sim_entity.js/buggy/binaries/data/mods/official/gui/test/functions_sim_entity.js