mapvote 1.1.5

Small change with no impact to match an update that fixed a bug on the T6 version. This bug didn't exist on the IW5 version.
525d50dfc0
This commit is contained in:
Resxt 2023-10-09 20:38:14 +02:00
parent 0ab00948ba
commit 5f9a46c511

View File

@ -15,10 +15,13 @@
/* Entry point */ /* Entry point */
Init() Main()
{ {
SetDvarIfNotInitialized("mapvote_enable", true); SetDvarIfNotInitialized("mapvote_enable", true);
}
Init()
{
if (GetDvarInt("mapvote_enable")) if (GetDvarInt("mapvote_enable"))
{ {
replaceFunc(maps\mp\gametypes\_gamelogic::waittillFinalKillcamDone, ::OnKillcamEnd); replaceFunc(maps\mp\gametypes\_gamelogic::waittillFinalKillcamDone, ::OnKillcamEnd);