In an unfortunate series of events for Sega, the playable demo for upcoming action-adventure game Yakuza 6: The Song of Life has been removed from the U.S. PlayStation Store, as it had become apparent that some players could gain access to the entire game for free.

Sega released the demo as a file that included the entire game, but it had unlocked designated sections for players to enjoy, while keeping the remainder of the game under wraps. However, some users managed to bypass these locked sections and were then able to play the entire game, free of charge. Sega’s first mistake was including the full game as a demo, but the company’s second mistake was putting faulty locks on important files. I’m sure this will serve as a lesson to developers in the future.

Yakuza 6: The Song of Life is the latest addition to the Yakuza series. Set in the seedy underworld of Japan’s criminal empire, it focuses on balancing life as a father, friend, family man, and Yakuza boss. Yakuza 6 was released in Japan in December 2016, but it will finally make its way to the United States (for its worldwide release) on April 17.