From e58afe070314e43cffc1d6860fa9b49574548cfd Mon Sep 17 00:00:00 2001 From: Kirie Saito <77302679+Kitsunemitsu@users.noreply.github.com> Date: Thu, 19 Dec 2024 13:28:14 -0500 Subject: [PATCH 1/5] Update vote.dm --- code/controllers/subsystem/vote.dm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/controllers/subsystem/vote.dm b/code/controllers/subsystem/vote.dm index 89ce5dba16ce..becd9d138661 100644 --- a/code/controllers/subsystem/vote.dm +++ b/code/controllers/subsystem/vote.dm @@ -176,10 +176,14 @@ SUBSYSTEM_DEF(vote) return FALSE // If user has already voted, remove their specific vote if(usr.ckey in voted) + if(usr.client.patreon.fetch_rank(usr.ckey)>=2) //Patreons get double mapvote + choices[choices[vote]]-- choices[choices[choice_by_ckey[usr.ckey]]]-- else voted += usr.ckey choice_by_ckey[usr.ckey] = vote + if(usr.client.patreon.fetch_rank(usr.ckey)>=2) //Patreons get double mapvote + choices[choices[vote]]++ choices[choices[vote]]++ return vote From 2a705a8a12d688d0e85863238e53e80cfe60dd7d Mon Sep 17 00:00:00 2001 From: Kirie Saito <77302679+Kitsunemitsu@users.noreply.github.com> Date: Fri, 20 Dec 2024 11:16:24 -0500 Subject: [PATCH 2/5] Update code/controllers/subsystem/vote.dm Co-authored-by: Cupa <5896309+Cupax3@users.noreply.github.com> --- code/controllers/subsystem/vote.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/controllers/subsystem/vote.dm b/code/controllers/subsystem/vote.dm index becd9d138661..eb8441ccd039 100644 --- a/code/controllers/subsystem/vote.dm +++ b/code/controllers/subsystem/vote.dm @@ -176,7 +176,7 @@ SUBSYSTEM_DEF(vote) return FALSE // If user has already voted, remove their specific vote if(usr.ckey in voted) - if(usr.client.patreon.fetch_rank(usr.ckey)>=2) //Patreons get double mapvote + if(usr.client.patreon.has_access(SENIOR_AGENT_RANK)) //Patreons get double mapvote choices[choices[vote]]-- choices[choices[choice_by_ckey[usr.ckey]]]-- else From 79b252c37cd590b81745a47caf1c538420353903 Mon Sep 17 00:00:00 2001 From: Kirie Saito <77302679+Kitsunemitsu@users.noreply.github.com> Date: Fri, 20 Dec 2024 11:16:29 -0500 Subject: [PATCH 3/5] Update code/controllers/subsystem/vote.dm Co-authored-by: Cupa <5896309+Cupax3@users.noreply.github.com> --- code/controllers/subsystem/vote.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/controllers/subsystem/vote.dm b/code/controllers/subsystem/vote.dm index eb8441ccd039..51d7069d8f54 100644 --- a/code/controllers/subsystem/vote.dm +++ b/code/controllers/subsystem/vote.dm @@ -182,7 +182,7 @@ SUBSYSTEM_DEF(vote) else voted += usr.ckey choice_by_ckey[usr.ckey] = vote - if(usr.client.patreon.fetch_rank(usr.ckey)>=2) //Patreons get double mapvote + if(usr.client.patreon.has_access(SENIOR_AGENT_RANK)) //Patreons get double mapvote choices[choices[vote]]++ choices[choices[vote]]++ return vote From 8f23ae76f6d5a2b16261f1c800638d0d6029ac1f Mon Sep 17 00:00:00 2001 From: Kirie Saito <77302679+Kitsunemitsu@users.noreply.github.com> Date: Fri, 20 Dec 2024 17:39:20 -0500 Subject: [PATCH 4/5] Update code/controllers/subsystem/vote.dm Co-authored-by: Cupa <5896309+Cupax3@users.noreply.github.com> --- code/controllers/subsystem/vote.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/controllers/subsystem/vote.dm b/code/controllers/subsystem/vote.dm index 51d7069d8f54..ddd99bef4a4d 100644 --- a/code/controllers/subsystem/vote.dm +++ b/code/controllers/subsystem/vote.dm @@ -182,7 +182,7 @@ SUBSYSTEM_DEF(vote) else voted += usr.ckey choice_by_ckey[usr.ckey] = vote - if(usr.client.patreon.has_access(SENIOR_AGENT_RANK)) //Patreons get double mapvote + if(usr.client.patreon.has_access(ACCESS_SENIOR_AGENT_RANK)) //Patreons get double mapvote choices[choices[vote]]++ choices[choices[vote]]++ return vote From fc6633f714c9f4ec3f27a044bca6d78652753938 Mon Sep 17 00:00:00 2001 From: Kirie Saito <77302679+Kitsunemitsu@users.noreply.github.com> Date: Fri, 20 Dec 2024 17:39:26 -0500 Subject: [PATCH 5/5] Update code/controllers/subsystem/vote.dm Co-authored-by: Cupa <5896309+Cupax3@users.noreply.github.com> --- code/controllers/subsystem/vote.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/controllers/subsystem/vote.dm b/code/controllers/subsystem/vote.dm index ddd99bef4a4d..716f09912a7d 100644 --- a/code/controllers/subsystem/vote.dm +++ b/code/controllers/subsystem/vote.dm @@ -176,7 +176,7 @@ SUBSYSTEM_DEF(vote) return FALSE // If user has already voted, remove their specific vote if(usr.ckey in voted) - if(usr.client.patreon.has_access(SENIOR_AGENT_RANK)) //Patreons get double mapvote + if(usr.client.patreon.has_access(ACCESS_SENIOR_AGENT_RANK)) //Patreons get double mapvote choices[choices[vote]]-- choices[choices[choice_by_ckey[usr.ckey]]]-- else