This commit is contained in:
GenZmeY 2022-09-13 05:10:25 +03:00
parent ed92306bd4
commit 62be0d356c
4 changed files with 9 additions and 5 deletions

View File

@ -72,7 +72,7 @@ private static function bool IsUID(String ID, E_LogLevel LogLevel)
{ {
`Log_TraceStatic(); `Log_TraceStatic();
return (Left(ID, 2) == "0x"); return (Left(ID, 2) ~= "0x");
} }
private static function bool AnyToUID(OnlineSubsystem OS, String ID, out UniqueNetId UID, E_LogLevel LogLevel) private static function bool AnyToUID(OnlineSubsystem OS, String ID, out UniqueNetId UID, E_LogLevel LogLevel)

View File

@ -242,13 +242,17 @@ public reliable client function WriteToChat(String Message, String HexColor)
if (GetKFPC() == None) return; if (GetKFPC() == None) return;
if (KFPC.MyGFxManager.PartyWidget != None && KFPC.MyGFxManager.PartyWidget.PartyChatWidget != None) if (KFPC.MyGFxManager != None &&
KFPC.MyGFxManager.PartyWidget != None &&
KFPC.MyGFxManager.PartyWidget.PartyChatWidget != None)
{ {
KFPC.MyGFxManager.PartyWidget.PartyChatWidget.AddChatMessage(Message, HexColor); KFPC.MyGFxManager.PartyWidget.PartyChatWidget.AddChatMessage(Message, HexColor);
} }
HUD = KFGFxHudWrapper(KFPC.myHUD); HUD = KFGFxHudWrapper(KFPC.myHUD);
if (HUD != None && HUD.HUDMovie != None && HUD.HUDMovie.HudChatBox != None) if (HUD != None &&
HUD.HUDMovie != None &&
HUD.HUDMovie.HudChatBox != None)
{ {
HUD.HUDMovie.HudChatBox.AddChatMessage(Message, HexColor); HUD.HUDMovie.HudChatBox.AddChatMessage(Message, HexColor);
} }

View File

@ -23,7 +23,7 @@ public function UpdateGameSettings()
} }
} }
protected function DistributeMoneyAndXP(class<KFPawn_Monster> MonsterClass, const out array<DamageInfo> DamageHistory, Controller Killer) protected function DistributeMoneyAndXP(class<KFPawn_Monster> MonsterClass, const out Array<DamageInfo> DamageHistory, Controller Killer)
{ {
`Log_Trace(); `Log_Trace();

2
tools

@ -1 +1 @@
Subproject commit cd658d9af958a46be3d46679dde4e3af6109c59e Subproject commit 88b35bd7ebb7e30448579f1564220398f990541c