[MIRROR] Fixes vote ss trying to remove actions of people who already voted. (#7099)

* Fixes votes trying to remove actions of people who already voted. (#38431)

* Fixes vote ss trying to remove actions of people who already voted.
This commit is contained in:
CitadelStationBot
2018-06-13 21:30:14 -05:00
committed by kevinz000
parent 8ec3ac03cd
commit 226780e0ed
+2
View File
@@ -337,6 +337,8 @@ SUBSYSTEM_DEF(vote)
return 1
/datum/action/vote/proc/remove_from_client()
if(!owner)
return
if(owner.client)
owner.client.player_details.player_actions -= src
else if(owner.ckey)