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.
https://github.com/Resxt/Plutonium-T6-Scripts/commit/525d50dfc0d05a46632274e5625d71cc223c1fba
This commit is contained in:
Resxt
2023-10-09 20:38:14 +02:00
parent 0ab00948ba
commit 5f9a46c511
+4 -1
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);