feat(Search) Search hotkey now working. CMD + K
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
using Model.Economy;
|
||||
using Model.Entity;
|
||||
using Model.Feedback;
|
||||
using Model.Types;
|
||||
using Services.Website;
|
||||
|
||||
namespace Services.Immortal;
|
||||
|
||||
@@ -159,11 +157,8 @@ public class EconomyService : IEconomyService
|
||||
|
||||
public EconomyModel GetEconomy(int atInterval)
|
||||
{
|
||||
if (atInterval >= economyOverTime.Count)
|
||||
{
|
||||
return economyOverTime.Last();
|
||||
}
|
||||
|
||||
if (atInterval >= economyOverTime.Count) return economyOverTime.Last();
|
||||
|
||||
return economyOverTime[atInterval];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user