The tooltip for the voting action button will give the question (#19052)

I see people saying that they often miss the actual question, even if they see the action button later.

This should make the action button more actionable.
This commit is contained in:
Incoming5643
2016-07-01 21:41:18 -05:00
committed by oranges
parent 1b7ca6540b
commit 5dde284841

View File

@@ -192,6 +192,8 @@ var/datum/subsystem/vote/SSvote
for(var/c in clients)
var/client/C = c
var/datum/action/vote/V = new
if(question)
V.name = "Vote: [question]"
V.Grant(C.mob)
generated_actions += V
return 1
@@ -305,4 +307,4 @@ var/datum/subsystem/vote/SSvote
Remove(owner)
/datum/action/vote/IsAvailable()
return 1
return 1