1 | function scr_fasttravel_add |
2 | { |
3 | for (var i = 0; i < ds_list_size(global.fast_travel_list); i++) |
4 | { |
5 | if (ds_list_find_value(global.fast_travel_list, i) == argument0) |
6 | return false; |
7 | } |
8 | ds_list_add(global.fast_travel_list, argument0) |
9 | ds_list_sort(global.fast_travel_list, false) |
10 | } |