0
0
mirror of https://github.com/sp-tarkov/modules.git synced 2025-02-12 20:30:43 -05:00

Fix beta logo 1 patch (!166)

Parameter length changed.

Co-authored-by: Cj <161484149+CJ-SPT@users.noreply.github.com>
Reviewed-on: SPT/Modules#166
Co-authored-by: Cj <cj@noreply.dev.sp-tarkov.com>
Co-committed-by: Cj <cj@noreply.dev.sp-tarkov.com>
This commit is contained in:
Cj 2024-09-06 08:14:23 +00:00 committed by chomp
parent b7a41c81e9
commit 5edf26b049

View File

@ -22,7 +22,7 @@ namespace SPT.Custom.Patches
ParameterInfo[] parameters = method.GetParameters();
return method.ReturnType == typeof(Task)
&& parameters.Length == 4
&& parameters.Length == 5
&& parameters[0].ParameterType == typeof(Profile)
&& parameters[1].ParameterType == typeof(ProfileStatusClass);
}