Skip to content

Commit e94211b

Browse files
fix: Ambushers+Lightning Warriors crash (Adeptus-Dominus#464)
1 parent 3fccd5a commit e94211b

File tree

1 file changed

+0
-53
lines changed

1 file changed

+0
-53
lines changed

scripts/scr_initialize_custom/scr_initialize_custom.gml

Lines changed: 0 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -2007,59 +2007,6 @@ function scr_initialize_custom() {
20072007
"formation_options": ["tactical", "assault", "devastator", "scout"],
20082008
}]
20092009
])
2010-
2011-
variable_struct_set(st, "tactical_squad", [
2012-
[roles.tactical, {
2013-
"max": 9,
2014-
"min": 4,
2015-
"loadout": {
2016-
"required": {
2017-
"wep1": [wep1[100, 8], 7],
2018-
"wep2": [wep2[100, 8], 7]
2019-
},
2020-
"option": {
2021-
"wep1": [
2022-
[
2023-
weapon_lists.special_weapons, 1
2024-
],
2025-
[
2026-
weapon_lists.heavy_weapons, 1, {
2027-
"wep2":"Combat Knife",
2028-
"mobi":"Heavy Weapons Pack",
2029-
}
2030-
]
2031-
],
2032-
}
2033-
}
2034-
}],
2035-
[roles.sergeant, {
2036-
"max": 1,
2037-
"min": 1,
2038-
"role": $"{roles.tactical} {roles.sergeant}",
2039-
"loadout": {
2040-
"required": {
2041-
"wep1": ["", 0],
2042-
"wep2": ["Chainsword", 1]
2043-
},
2044-
"option": {
2045-
"wep1": [
2046-
[
2047-
weapon_lists.pistols, 1
2048-
],
2049-
],
2050-
"wep2": [
2051-
[
2052-
weapon_lists.melee_weapons, 1
2053-
],
2054-
],
2055-
}
2056-
}
2057-
}],
2058-
["type_data", {
2059-
"display_data": $"{roles.tactical} {squad_name}",
2060-
"formation_options": ["tactical", "assault", "devastator", "scout"],
2061-
}]
2062-
])
20632010
}
20642011
if (scr_has_adv("Boarders")) {
20652012
variable_struct_set(st, "breachers", [

0 commit comments

Comments
 (0)