fix end terminal pluralisation
This commit is contained in:
@@ -22,7 +22,7 @@ namespace Station46.Modules.End_Terminal.Scripts
|
||||
var currentText = text.text;
|
||||
currentText = value == 1
|
||||
? currentText.Replace("beacons", "beacon")
|
||||
: currentText.Replace("beacon", "beacons");
|
||||
: currentText.Replace("beacon\n", "beacons\n");
|
||||
text.text = value + currentText[currentText.IndexOf(' ')..];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user