use ref. if really needed (#19518)

* use ref. if really needed

* replace browse_rsc with the macro for it
This commit is contained in:
Kashargul
2026-06-20 21:50:43 +02:00
committed by GitHub
parent 4a1efa8f22
commit 9cb6b2ec55
16 changed files with 52 additions and 52 deletions
+1 -2
View File
@@ -316,7 +316,6 @@
/datum/data/pda/app/goals/proc/get_goals()
var/list/goals = list()
var/index = 0
for(var/category in SSdepartmentgoals.active_department_goals)
var/list/dept_goal = SSdepartmentgoals.active_department_goals[category]
@@ -325,6 +324,6 @@
"name" = goal.name,
"description" = goal.goal_text,
"count" = FLOOR((goal.current_count / goal.goal_count) * 100, 1),
"index" = ++index
"ref" = REF(goal)
))
return goals