I don't think there's anything wrong with punishing corporate **** for funding foreign militaries that are currently fighting against their country, however nationalizing was the worst way to do that. Russian IT industry already sucks for a variety of reasons, nationalizing companies just further dissuades devs from registering their startups and paying taxes in Russia.
First the russian gaming industry was annihilated by the 2009 financial crisis - a fuckton of smaller studios and even publishers went bankrupt, the ones who survived switched over to making ****** mobile games.
Another issue is that the russian IT field is dominated by the rootless cosmopolitan liberals (which is a common theme everywhere I guess). Due to the nature of their work they all speak english and regularly communicate with foreign devs, so naturally they don't have this attachment to their own country. A lot of them leave once they hit it big, and move to USA/Cyprus/Israel/Netherlands.
This isn't the first time the russian government nationalizes an IT company - they did it with VK (russian facebook clone, FSB forced Pavel Durov to sell it to some Kremlin-affiliated dude because of the risks of personal data leaking to foreign intelligence agencies), they sort-of did the same withing with Yandex (yandex founder and ceo was also a libtard who fled to Israel).