Skip to content
Snippets Groups Projects
Commit 47ab171f authored by pjs's avatar pjs
Browse files

don't print report at haltTime

parent eca5ab21
No related branches found
No related tags found
No related merge requests found
...@@ -63,7 +63,7 @@ class AoModel ...@@ -63,7 +63,7 @@ class AoModel
# Event methods follow... # Event methods follow...
def dailyReport def dailyReport
STDOUT.printf "%d\n", @numAvailableJeeps STDOUT.printf "%d\n", @numAvailableJeeps if model_time < @haltTime
schedule(:dailyReport, 8.0) schedule(:dailyReport, 8.0)
end end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment