mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-11 10:11:09 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user