this should be an istypeless forloop

This commit is contained in:
Incoming
2016-06-05 21:35:35 -04:00
parent 2783ce0a42
commit 6656f410d6
+4 -2
View File
@@ -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()