Skip to content

Commit

Permalink
Fixes victory
Browse files Browse the repository at this point in the history
  • Loading branch information
imtakingabreakdontatme committed Jan 27, 2016
1 parent c4f912d commit 74db429
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion code/modules/awaymissions/capture_the_flag.dm
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,8 @@

/obj/machinery/capture_the_flag/proc/victory()
for(var/mob/M in mob_list)
if (M.z == src.z)
var/area/mob_area = get_area(M)
if(istype(mob_area, /area/ctf))
M << "<span class='narsie'>[team] team wins!</span>"
M << "<span class='userdanger'>The game has been reset! Teams have been cleared. The machines will be active again in 30 seconds.</span>"
M.dust()
Expand Down

0 comments on commit 74db429

Please sign in to comment.