rott/kf_sources/KFPatcher/Classes/stub_VotingReplicationInfo.uc
2026-07-14 20:27:09 +07:00

13 lines
391 B
Ucode

class stub_VotingReplicationInfo extends VotingReplicationInfo;
function SendMapVote(int MapIndex, int p_GameIndex)
{
local KFPlayerController kfpc;
kfpc = KFPlayerController(Owner);
DebugLog("MVRI.SendMapVote(" $ MapIndex $ ", " $ p_GameIndex $ ")");
if (kfpc != none && !kfpc.PlayerReplicationInfo.bOnlySpectator)
VH.SubmitMapVote(MapIndex,p_GameIndex,Owner);
}