[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:
committed by
kevinz000
parent
8ec3ac03cd
commit
226780e0ed
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user