&nbsp

  (FILE PHOTO)

SACRAMENTO (KTLA) -- A state senator is looking to amend legislation that could close a loophole in the nation's toughest assault weapons law.

The law, passed earlier this year, banned gun manufacturers from selling weapons with detachable magazines. To get around the law, weapons can be made with a tool called a "bullet button," which uses a magnet over the weapon's magazine release mechanism, allowing an empty magazine to be changed in seconds.

Senator Leland Yee (D-San Francisco), who wrote SB249, is looking to amend it to make it more difficult for rifles and shotguns to be swiftly reloaded.

The bill initially called for a ban for just one variety of "bullet button," but was rewritten after it met heavy opposition.

Attorney General Kamala Harris endorsed Yee's efforts Friday, saying that the change would restore the law's original intent and would prevent the gun industry from further undermining the law.

The National Rifle Association is urging its members to oppose the bill, calling it a "gun ban monster" that could lead to the seizure of thousands of assault weapons across the state.

Yee plans to bring it up on the Senate floor next week.