Skip to content

Commit

Permalink
Added a chance (3%) for cameras on z1 to be disabled at round start.
Browse files Browse the repository at this point in the history
  • Loading branch information
Petethegoat committed Jul 2, 2013
1 parent a151ee7 commit e937428
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion code/game/machinery/camera/camera.dm
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@
*/
..()

/obj/machinery/camera/initialize()
if(z == 1 && prob(3))
deactivate()

/obj/machinery/camera/Del()
if(istype(bug))
bug.bugged_cameras -= src.c_tag
Expand Down Expand Up @@ -292,4 +296,4 @@
return 0
return 1
busy = 0
return 0
return 0

0 comments on commit e937428

Please sign in to comment.