mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
Merge pull request #2054 from CHOMPStationBot/upstream-merge-10433
[MIRROR] [MIRROR] Linter Introduction + Cleanup
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user