From 5f9a46c511e6bcedb14c6178f29b5fb8d20bfe32 Mon Sep 17 00:00:00 2001 From: Resxt <55228336+Resxt@users.noreply.github.com> Date: Mon, 9 Oct 2023 20:38:14 +0200 Subject: [PATCH] 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 --- mapvote/mapvote.gsc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mapvote/mapvote.gsc b/mapvote/mapvote.gsc index a8bcfd1..c649bbd 100644 --- a/mapvote/mapvote.gsc +++ b/mapvote/mapvote.gsc @@ -15,10 +15,13 @@ /* Entry point */ -Init() +Main() { SetDvarIfNotInitialized("mapvote_enable", true); +} +Init() +{ if (GetDvarInt("mapvote_enable")) { replaceFunc(maps\mp\gametypes\_gamelogic::waittillFinalKillcamDone, ::OnKillcamEnd);