From d643fa808fca73ba11c194731c9fbd772143756f Mon Sep 17 00:00:00 2001 From: Nelsonh Date: Mon, 13 Jan 2025 17:58:32 +0000 Subject: [PATCH] wrong race variable on new recruits --- scripts/scr_add_man/scr_add_man.gml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/scripts/scr_add_man/scr_add_man.gml b/scripts/scr_add_man/scr_add_man.gml index 701fe77a0..42aa6ddb4 100644 --- a/scripts/scr_add_man/scr_add_man.gml +++ b/scripts/scr_add_man/scr_add_man.gml @@ -216,13 +216,14 @@ function scr_add_man(man_role, target_company, spawn_exp, spawn_name, corruption if (!array_contains(non_marine_roles, man_role)) { // Weapons + obj_ini.race[target_company][good] = eFACTION.Player; if (man_role == obj_ini.role[100][12]) { _gear = { - wep2 : obj_ini.wep2[100, 12], - wep1 : obj_ini.wep1[100, 12], - armour : obj_ini.armour[100, 12], - gear : obj_ini.gear[100, 12], - mobi : obj_ini.mobi[100, 12], + wep2 : obj_ini.wep2[100][12], + wep1 : obj_ini.wep1[100][12], + armour : obj_ini.armour[100][12], + gear : obj_ini.gear[100][12], + mobi : obj_ini.mobi[100][12], } };