Lint doesn't like this lineif exports.mapmanager:isGamemode(gamemode) and not exports.mapmanager:getRunningGamemode() == gamemode then
It responds with:
[managers]/votemanager/votemanager_polls.lua:533:51: Error prone negation: negation is executed before relational operator.
Hopefully it likes this new negationless line better.
if exports.mapmanager:isGamemode(gamemode) and exports.mapmanager:getRunningGamemode() ~= gamemode then
Lint doesn't like this line
if exports.mapmanager:isGamemode(gamemode) and not exports.mapmanager:getRunningGamemode() == gamemode then
It responds with:
Hopefully it likes this new negationless line better.
if exports.mapmanager:isGamemode(gamemode) and exports.mapmanager:getRunningGamemode() ~= gamemode then