mirror of
https://github.com/Resxt/Plutonium-T6-Scripts.git
synced 2025-04-19 13:42:54 +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:
parent
8bb3055978
commit
525d50dfc0
@ -16,10 +16,13 @@
|
||||
|
||||
/* Entry point */
|
||||
|
||||
Init()
|
||||
Main()
|
||||
{
|
||||
SetDvarIfNotInitialized("mapvote_enable", true);
|
||||
}
|
||||
|
||||
Init()
|
||||
{
|
||||
if (GetDvarInt("mapvote_enable"))
|
||||
{
|
||||
level.mapvote_rotate_function = ::StartRotation;
|
||||
|
Loading…
x
Reference in New Issue
Block a user