mirror of
https://github.com/Resxt/Plutonium-T6-Scripts.git
synced 2025-06-30 16:21:48 +00:00
mapvote 2.1.4
Fixed a bug introduced in 2.1.2 that wouldn't automatically enable the mapvote the very first game due to dvars initialization time. The mapvote is now properly enabled by default on all games
This commit is contained in:
@ -16,10 +16,13 @@
|
||||
|
||||
/* Entry point */
|
||||
|
||||
Init()
|
||||
Main()
|
||||
{
|
||||
SetDvarIfNotInitialized("mapvote_enable", true);
|
||||
}
|
||||
|
||||
Init()
|
||||
{
|
||||
if (GetDvarInt("mapvote_enable"))
|
||||
{
|
||||
level.mapvote_rotate_function = ::StartRotation;
|
||||
|
Reference in New Issue
Block a user