mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-13 16:13:49 +01:00
use ref. if really needed (#19518)
* use ref. if really needed * replace browse_rsc with the macro for it
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user