mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-25 06:00:16 +01:00
[MIRROR] Station Goals are now handled by SSstation instead of a global list (#26313)
* Station Goals are now handled by SSstation instead of a global list (#81177) ## About The Pull Request You can now get station goals in a slightly better way over using a `locate() in` call on a global list. The Meteor Satellite goal no longer stores a giant list of ALL OBJECTS in view. And now correctly only counts turfs. ## Changelog 🆑 fix: Meteor Satellites no longer erroneously count every piece of paper as a protected turf. fix: As a result the station goal is slightly more difficult /🆑 --------- Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@ users.noreply.github.com> * Station Goals are now handled by SSstation instead of a global list * Will it work? I do not know. But it compiles. --------- Co-authored-by: Zephyr <12817816+ZephyrTFA@users.noreply.github.com> Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@ users.noreply.github.com> Co-authored-by: Useroth <37159550+Useroth@users.noreply.github.com>
This commit is contained in:
co-authored by
LemonInTheDark
Zephyr
Useroth
parent
f74b368196
commit
b485162a04
+1
-1
@@ -59,7 +59,7 @@
|
||||
if(initial(iterating_goal.name) == selected_goal)
|
||||
var/datum/station_goal/goal_to_set = new iterating_goal()
|
||||
goal_to_set.send_report()
|
||||
GLOB.station_goals += goal_to_set
|
||||
SSstation.goals_by_type[iterating_goal] = goal_to_set
|
||||
goal_assigned = TRUE
|
||||
break
|
||||
updateUsrDialog()
|
||||
|
||||
Reference in New Issue
Block a user