Skip to content

Commit 538549f

Browse files
fix: Forge respects target company (#560)
1 parent 75cf04b commit 538549f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/scr_specialist_point_handler/scr_specialist_point_handler.gml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ function SpecialistPointHandler() constructor{
440440
scr_forge_item(item);
441441
} else {
442442
repeat(item.count){
443-
var vehicle = scr_add_vehicle(item.name,9,"standard","standard","standard","standard","standard");
443+
var vehicle = scr_add_vehicle(item.name,obj_controller.new_vehicles,"standard","standard","standard","standard","standard");
444444
var build_loc = array_random_element(obj_controller.player_forge_data.vehicle_hanger);
445445
obj_ini.veh_loc[vehicle[0]][vehicle[1]] = build_loc[0];
446446
obj_ini.veh_wid[vehicle[0]][vehicle[1]] = build_loc[1];

0 commit comments

Comments
 (0)