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);