That does not count as ransomware. To quote Wikipedia…
Ransomware is a type of malware from cryptovirology that threatens to publish the victim’s data or perpetually block access to it unless a ransom is paid.
Warcraft III 1.32 is not malware. Warcraft III 1.32 was not designed using cryptovirology. Warcraft III 1.32 makes no threats and does not ask for a ransom. Warcraft III 1.32 does not block access to data.
I suggest reading a dictionary to avoid such mistakes in future.
Warcraft III has always done this. There was a bug that one could even disconnect from a single player World Editor test game back 10 years ago odd.