Changes

Jump to navigation Jump to search
m
no edit summary
Line 150: Line 150:  
temp_obj = future_temp_obj;
 
temp_obj = future_temp_obj;
 
} else {
 
} else {
if temp_obj.includes(moving) {
+
Object.keys( temp_obj ).forEach( function ( piece ) {
return moving;
+
if ( temp_obj[ piece ] === moving ) { return moving };
 
}
 
}
 +
if ( temp_obj === moving ) { return moving };
 
}
 
}
  
530

edits

Navigation menu