Merge pull request #10433 from VOREStation/upstream-merge-8085

[MIRROR] Linter Introduction + Cleanup
This commit is contained in:
Aronai Sieyes
2021-05-27 12:31:23 -04:00
committed by GitHub
244 changed files with 2604 additions and 2699 deletions
+4 -3
View File
@@ -115,15 +115,16 @@
/obj/structure/noticeboard/tgui_data(mob/user)
var/list/data = ..()
data["notices"] = list()
var/list/notices = list()
for(var/obj/item/I in notices)
data["notices"].Add(list(list(
notices.Add(list(list(
"ispaper" = istype(I, /obj/item/weapon/paper),
"isphoto" = istype(I, /obj/item/weapon/photo),
"name" = I.name,
"ref" = "\ref[I]",
)))
data["notices"] = notices
return data
/obj/structure/noticeboard/tgui_act(action, params)