Open Chenterito opened 2 years ago
Which IW5 are you using. Pluto or Tekno? Gamemodes were pulled from Pluto IW5:
After further investigation it looks like there's a discrepancy between the gametype and the dsr naming...
I mean pluto iw5
I don't have an easy solution for this currently. The default dsr (which drive changing the gametype) do not match the actual gametype value. I can't change the known gametypes as that breaks changing gametypes via mag command. If I add both war and tdm it might be tricky changing the gametype since there's essentially duplicates. I will think on this and see if I find a good solution.
In my opinion, the solution is simple.
No longer do it search if the type of game matches with the default ones, but simply the command works with the name of the dsr that you want to place. It does not matter if it is a default dsr, the user must write the full name of the file.
!mag dome TDM_default
And so this part would correctly display the game mode on the web.
As seen in the image. TDM type in iw5 is "war" and FFA type in iw5 is "dm"