Skip to content

Commit

Permalink
lets admins vote always
Browse files Browse the repository at this point in the history
  • Loading branch information
carpotoxin committed Oct 20, 2024
1 parent 413b1c1 commit 7949575
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion modular_doppler/event_poll/event_poll.dm
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@
/datum/controller/subsystem/events/proc/get_eligible_players()
var/list/eligible_players = list()
for(var/mob/iterating_user in GLOB.player_list)
if(isdead(iterating_user) || !(iterating_user.mind?.assigned_role.job_flags & JOB_CREW_MEMBER))
if(!(check_rights_for(iterating_user, R_ADMIN)) && (isdead(iterating_user) || !(iterating_user.mind?.assigned_role.job_flags & JOB_CREW_MEMBER)))
continue
eligible_players += iterating_user
return eligible_players
Expand Down
1 change: 1 addition & 0 deletions modular_doppler/event_poll/event_poll_control.dm
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@

/datum/round_event_control/alien_infestation
chaos_level = EVENT_CHAOS_HIGH
min_players = 20

/datum/round_event_control/space_ninja
chaos_level = EVENT_CHAOS_HIGH
Expand Down

0 comments on commit 7949575

Please sign in to comment.