Wes xx sign predictor doc little ui

This commit is contained in:
Dries Van Schuylenbergh
2023-05-17 17:36:27 +00:00
committed by Jerome Coudron
parent 349ca1cb44
commit f63b49ebc7
33 changed files with 47 additions and 45 deletions

View File

@@ -371,7 +371,8 @@ public class JustSignController : AbstractMinigameController
/// <returns></returns>
public float GetThreshold(string sign)
{
Learnable predSign = currentTheme.learnables.Find(l => l.name.ToUpper().Replace(" ", "-") == sign);
var s = sign.ToUpper().Replace(" ", "-");
Learnable predSign = currentTheme.learnables.Find(l => l.name.ToUpper().Replace(" ", "-") == s);
return predSign.thresholdDistance;
}