Almost finished base business system backend
This commit is contained in:
@@ -40,7 +40,7 @@ namespace reallife_gamemode.Server.Managers
|
||||
return (T)businesses.Find(b => b.GetType() == typeof(T));
|
||||
}
|
||||
|
||||
public static BusinessBase GetBusiness(int id)
|
||||
public static BusinessBase GetBusiness(int? id)
|
||||
{
|
||||
return businesses.Find(b => b.Id == id);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user