Added pluralnames to gamemode item tokens

This commit is contained in:
JappaWakka 2023-05-30 17:56:47 +02:00
parent bb68e96bd5
commit 57e0bf2f15
1 changed files with 5 additions and 1 deletions

View File

@ -41,7 +41,11 @@ Public Class GameModeItem
''' </summary>
Public Overrides ReadOnly Property PluralName As String
Get
Return gmPluralName
If Localization.TokenExists("item_pluralname_" & gmID) = True Then
Return Localization.GetString("item_pluralname_" & gmID)
Else
Return gmPluralName
End If
End Get
End Property