From d8f99e0ccf0b8095caac7ddba3faaaaeb2021e72 Mon Sep 17 00:00:00 2001
From: MLErik <baerenjesus@gmail.com>
Date: Mon, 28 Oct 2019 15:24:17 -0400
Subject: [PATCH] this adresses #263:

Added fixed to attributes in agent_utils.py
---
 flatland/envs/agent_utils.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/flatland/envs/agent_utils.py b/flatland/envs/agent_utils.py
index 78ec65a3..13d0fd89 100644
--- a/flatland/envs/agent_utils.py
+++ b/flatland/envs/agent_utils.py
@@ -40,7 +40,7 @@ class EnvAgentStatic(object):
     malfunction_data = attrib(
         default=Factory(
             lambda: dict({'malfunction': 0, 'malfunction_rate': 0, 'next_malfunction': 0, 'nr_malfunctions': 0,
-                          'moving_before_malfunction': False})))
+                          'moving_before_malfunction': False, 'fixed': False})))
 
     status = attrib(default=RailAgentStatus.READY_TO_DEPART, type=RailAgentStatus)
     position = attrib(default=None, type=Optional[Tuple[int, int]])
-- 
GitLab