mirror of
https://github.com/sp-tarkov/modules.git
synced 2025-02-13 01:30:45 -05:00
Updated to 33420
This commit is contained in:
parent
dd4bc93a97
commit
3e073ad713
@ -16,7 +16,7 @@ namespace SPT.SinglePlayer.Patches.MainMenu
|
|||||||
}
|
}
|
||||||
|
|
||||||
[PatchPostfix]
|
[PatchPostfix]
|
||||||
public static void PatchPostfix(DamageInfo damageInfo)
|
public static void PatchPostfix(DamageInfoStruct damageInfo)
|
||||||
{
|
{
|
||||||
if (damageInfo.Player == null || damageInfo.Player.iPlayer == null || !damageInfo.Player.iPlayer.IsYourPlayer)
|
if (damageInfo.Player == null || damageInfo.Player.iPlayer == null || !damageInfo.Player.iPlayer.IsYourPlayer)
|
||||||
{
|
{
|
||||||
|
@ -16,7 +16,7 @@ namespace SPT.SinglePlayer.Patches.ScavMode
|
|||||||
}
|
}
|
||||||
|
|
||||||
[PatchPrefix]
|
[PatchPrefix]
|
||||||
public static void PatchPrefix(DamageInfo damage, string playerProfileId, out Tuple<Player, bool> __state)
|
public static void PatchPrefix(DamageInfoStruct damage, string playerProfileId, out Tuple<Player, bool> __state)
|
||||||
{
|
{
|
||||||
__state = new Tuple<Player, bool>(null, false);
|
__state = new Tuple<Player, bool>(null, false);
|
||||||
var player = (Player)damage.Player.iPlayer;
|
var player = (Player)damage.Player.iPlayer;
|
||||||
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user