mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 08:08:49 +01:00
this should be an istypeless forloop
This commit is contained in:
@@ -189,7 +189,8 @@ var/datum/subsystem/vote/SSvote
|
||||
log_vote(text)
|
||||
world << "\n<font color='purple'><b>[text]</b>\nType <b>vote</b> or click <a href='?src=\ref[src]'>here</a> to place your votes.\nYou have [config.vote_period/10] seconds to vote.</font>"
|
||||
time_remaining = round(config.vote_period/10)
|
||||
for(var/client/C in clients)
|
||||
for(var/c in clients)
|
||||
var/client/C = c
|
||||
var/datum/action/vote/V = new
|
||||
V.Grant(C.mob)
|
||||
generated_actions += V
|
||||
@@ -279,7 +280,8 @@ var/datum/subsystem/vote/SSvote
|
||||
usr.vote()
|
||||
|
||||
/datum/subsystem/vote/proc/remove_action_buttons()
|
||||
for(var/datum/action/vote/V in generated_actions)
|
||||
for(var/v in generated_actions)
|
||||
var/datum/action/vote/V = v
|
||||
if(!qdeleted(V))
|
||||
V.Remove(V.owner)
|
||||
generated_actions = list()
|
||||
|
||||
Reference in New Issue
Block a user