1
0
Fork 0
mirror of https://github.com/jugeeya/UltimateTrainingModpack.git synced 2025-03-16 11:26:11 +00:00

Remove enable transition check for ground tech

This commit is contained in:
jugeeya 2020-08-30 01:16:14 -07:00 committed by GitHub
parent 02f4095c37
commit ba939b3be1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -46,10 +46,6 @@ unsafe fn mod_handle_change_status(
{
let state: TechFlags = MENU.tech_state.get_random();
if WorkModule::is_enable_transition_term(
module_accessor,
*FIGHTER_STATUS_TRANSITION_TERM_ID_PASSIVE,
) {
match state {
TechFlags::IN_PLACE => {
*status_kind = FIGHTER_STATUS_KIND_PASSIVE.as_lua_int();
@ -70,7 +66,6 @@ unsafe fn mod_handle_change_status(
}
_ => (),
}
}
return;
}