1
0

5 Commits

Author SHA1 Message Date
af861b9888 update build tools 2022-09-13 05:00:53 +03:00
5f4617e25f update build tools 2022-09-02 16:21:40 +03:00
5dd4279dd4 fix player repinfo destroy 2022-09-02 15:23:34 +03:00
31db3849be update build tools 2022-09-02 15:17:59 +03:00
cdacf03d40 swap didn't voted and voted players on HUD. 2022-08-30 07:15:12 +03:00
8 changed files with 26 additions and 9 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
*.psd
/ignore

View File

@ -326,14 +326,20 @@ public function NotifyLogin(Controller C)
{ {
`Log_Trace(); `Log_Trace();
CreateRepInfo(C); if (!CreateRepInfo(C))
{
`Log_Error("Can't create RepInfo for:" @ C);
}
} }
public function NotifyLogout(Controller C) public function NotifyLogout(Controller C)
{ {
`Log_Trace(); `Log_Trace();
DestroyRepInfo(C); if (!DestroyRepInfo(C))
{
`Log_Error("Can't destroy RepInfo of:" @ C);
}
} }
public function bool CreateRepInfo(Controller C) public function bool CreateRepInfo(Controller C)
@ -369,8 +375,8 @@ public function bool DestroyRepInfo(Controller C)
{ {
if (RepInfo.Owner == C) if (RepInfo.Owner == C)
{ {
RepInfo.SafeDestroy();
RepInfos.RemoveItem(RepInfo); RepInfos.RemoveItem(RepInfo);
RepInfo.SafeDestroy();
return true; return true;
} }
} }
@ -378,7 +384,7 @@ public function bool DestroyRepInfo(Controller C)
return false; return false;
} }
DefaultProperties defaultproperties
{ {
} }

View File

@ -54,7 +54,7 @@ public function NotifyLogout(Controller C)
CVC.NotifyLogout(C); CVC.NotifyLogout(C);
} }
DefaultProperties defaultproperties
{ {
} }

View File

@ -125,7 +125,7 @@ public static function String GetLocalizedString(
return (String1 $ ":" @ class'KFCommon_LocalizedStrings'.default.NoString); return (String1 $ ":" @ class'KFCommon_LocalizedStrings'.default.NoString);
case CVC_VoteProgressHUD: case CVC_VoteProgressHUD:
return (default.VotedPlayers != "" ? default.VotedPlayers : default.VotedPlayersDefault) @ String1 $ (String2 != "" ? ("\n" $ (default.DidntVotePlayers != "" ? default.DidntVotePlayers : default.DidntVotePlayersDefault) @ String2) : ""); return (default.DidntVotePlayers != "" ? default.DidntVotePlayers : default.DidntVotePlayersDefault) @ String2 $ (String1 != "" ? ("\n" $ (default.VotedPlayers != "" ? default.VotedPlayers : default.VotedPlayersDefault) @ String1) : "");
} }
return ""; return "";

View File

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

View File

@ -64,7 +64,7 @@ static function IncMapStat(String Map, int PlayTime, String SortPolicy, E_LogLev
StaticSaveConfig(); StaticSaveConfig();
} }
DefaultProperties defaultproperties
{ {
} }

View File

@ -11,6 +11,15 @@ StripSource="True"
PackageBuildOrder="CVC" PackageBuildOrder="CVC"
### Brew parameters ###
# Packages you want to brew using @peelz's patched KFEditor.
# Useful for cases where regular brew doesn't put *.upk inside the package.
# Specify them with a space as a separator,
# The order doesn't matter
PackagePeelzBrew=""
### Steam Workshop upload parameters ### ### Steam Workshop upload parameters ###
# Mutators that will be uploaded to the workshop # Mutators that will be uploaded to the workshop

2
tools

Submodule tools updated: 2f173aad7a...88b35bd7eb