Closed Tsin closed 13 years ago
You can't add_vote invalid votes anymore - So they can't be voted.
https://github.com/SushiTee/teeworlds/commit/b250536b81ff16311270901bf8f5b89763782858
but you can;t vote these anymore but if u want to add comments in DDMax see the commit above that u were searching for
I may have found a way too do this:
in void CGameContext::OnMessage(int MsgId, CUnpacker *pUnpacker, int ClientId)
add this line:
if(!pSelf->Console()->LineIsValid(pResult->GetString(0)) && pResult->GetString(0)[0] != '#') SendChatTarget(ClientId, "You cant vote header votes"); return;
I personally wont do this untill someone confirms this is correct
i already did this and asked you
[----MAP BY SZYKER-----] shouldnt be voteable
this is the same issue Oy said it wont be fixed ;/ https://github.com/oy/teeworlds/issues/closed#issue/229
but in one of comments Fisico October 21, 2010 "sushi fixed this already pull his master branch thx to sushi"
Lemon and I searched for this comit on shusi's git couldnt find it =/
will look later maybe will find it