diff --git a/flatland/envs/observations.py b/flatland/envs/observations.py
index a8883824d59f23e2efab69cb53070b0bb18e761d..11c7143d5d555c1cf0e6189ba7b21b138379edd6 100644
--- a/flatland/envs/observations.py
+++ b/flatland/envs/observations.py
@@ -670,6 +670,7 @@ class GlobalObsForRailEnv(ObservationBuilder):
 
 class LocalObsForRailEnv(ObservationBuilder):
     """
+    !!!!!!WARNING!!! THIS IS DEPRACTED AND NOT UPDATED TO FLATLAND 2.0!!!!!
     Gives a local observation of the rail environment around the agent.
     The observation is composed of the following elements: