Disabling slop features
This commit is contained in:
@@ -9,13 +9,13 @@ public class WebsiteData
|
|||||||
* Flag for content generated by the AI. Can contain UI that makes no sense, or more importantly,
|
* Flag for content generated by the AI. Can contain UI that makes no sense, or more importantly,
|
||||||
* game data that is not real. Fun to look at, but needs to be thoroughly vetted before it can ever go live.
|
* game data that is not real. Fun to look at, but needs to be thoroughly vetted before it can ever go live.
|
||||||
*/
|
*/
|
||||||
public static bool allowSlopData { get; set; } = true;
|
public static bool allowSlopData { get; set; } = false;
|
||||||
|
|
||||||
private static bool IsPageAllowed(WebPageModel page)
|
private static bool IsPageAllowed(WebPageModel page)
|
||||||
{
|
{
|
||||||
if (allowSlopData) return true;
|
if (allowSlopData) return true;
|
||||||
|
|
||||||
return page.Id != 5 && page.Id != 6;
|
return page.Id != 5 && page.Id != 6 && page.Id != 7;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static List<WebPageModel> GetPages()
|
public static List<WebPageModel> GetPages()
|
||||||
|
|||||||
Reference in New Issue
Block a user