Commit 62c1c12a authored by Neoony's avatar Neoony
Browse files

v0.9 WIP2

- Fixed comm detection not setting "comms not ready", after both teams get a comm and one team loses a comm
parent 74d6ef11
......@@ -97,4 +97,5 @@
- Improved commander vote detection
- Plugin now has a dependency: https://git.empiresmod.com/sourcemod/EmpUtils
- Added HUD messages
- Disabled Comm HUD for infantry maps
\ No newline at end of file
- Disabled Comm HUD for infantry maps
- Fixed comm detection not setting "comms not ready", after both teams get a comm and one team loses a comm
\ No newline at end of file
......@@ -236,4 +236,5 @@ I intend to keep surrender or comm lock as a separate plugins.
- Improved commander vote detection
- Plugin now has a dependency: https://git.empiresmod.com/sourcemod/EmpUtils
- Added HUD messages
- Disabled Comm HUD for infantry maps
\ No newline at end of file
- Disabled Comm HUD for infantry maps
- Fixed comm detection not setting "comms not ready", after both teams get a comm and one team loses a comm
\ No newline at end of file
......@@ -20,7 +20,7 @@
#include <sdkhooks>
#include <emputils>
#define PluginVer "v0.9 WIP1"
#define PluginVer "v0.9 WIP2"
public Plugin myinfo =
{
......@@ -760,11 +760,16 @@ public void OnVoteLeaderChanged(int team, int leader, int numVotes)
{
commsready = 1;
}
if (nf1vote != 1 && be1vote != 1)
if (nf1vote != 1)
{
commsready = 0;
}
if (be1vote != 1)
{
commsready = 0;
}
if (nf1vote == 1 && be1vote == 1)
{
//Alltalk management
......
......@@ -4,7 +4,7 @@
{
"Version"
{
"Latest" "v0.9 WIP1"
"Latest" "v0.9 WIP2"
}
"Notes" "[NCEV] NoCommExtendVote. v0.9 WIP Changelog:"
......@@ -17,7 +17,8 @@
"Notes" "- Improved commander vote detection"
"Notes" "- Plugin now has a dependency: https://git.empiresmod.com/sourcemod/EmpUtils"
"Notes" "- Added HUD messages"
"Notes" "- Disabled Comm HUD for infantry maps"
"Notes" "- Disabled Comm HUD for infantry maps - WIP1"
"Notes" "- Fixed comm detection not setting "comms not ready", after both teams get a comm and one team loses a comm - WIP2"
}
"Files"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment