From 09ce499146af47223f18bd09c6fe2d6488820db0 Mon Sep 17 00:00:00 2001 From: Letter N <24603524+LetterN@users.noreply.github.com> Date: Mon, 1 Mar 2021 21:55:34 +0800 Subject: [PATCH] aeiou --- code/modules/library/lib_machines.dm | 5 ----- code/modules/mob/dead/new_player/new_player.dm | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/code/modules/library/lib_machines.dm b/code/modules/library/lib_machines.dm index 6897004583..1125d15bca 100644 --- a/code/modules/library/lib_machines.dm +++ b/code/modules/library/lib_machines.dm @@ -47,11 +47,6 @@ else dat += "" dat += "" - var/SQLsearch = "isnull(deleted) AND " - if(category == "Any") - SQLsearch += "author LIKE '%[author]%' AND title LIKE '%[title]%'" - else - SQLsearch += "author LIKE '%[author]%' AND title LIKE '%[title]%' AND category='[category]'" var/bookcount = 0 var/booksperpage = 20 var/datum/db_query/query_library_count_books = SSdbcore.NewQuery({" diff --git a/code/modules/mob/dead/new_player/new_player.dm b/code/modules/mob/dead/new_player/new_player.dm index 5040d4edf1..11f1d58c0c 100644 --- a/code/modules/mob/dead/new_player/new_player.dm +++ b/code/modules/mob/dead/new_player/new_player.dm @@ -65,7 +65,7 @@ popup.open(FALSE) /mob/dead/new_player/proc/playerpolls() - var/list/output = list() + var/output = "" //hey tg why is this a list? if (SSdbcore.Connect()) var/isadmin = FALSE if(client?.holder)
AUTHORTITLECATEGORYSS13BN