From f5d3aae7590b642e6d7bb32e8cb3ebf51ea4dfb9 Mon Sep 17 00:00:00 2001 From: Albin Date: Sat, 30 Nov 2019 12:46:05 +0100 Subject: Dokumentation av governor --- Kod/bilbana/yc4/main.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Kod/bilbana/yc4/main.m') diff --git a/Kod/bilbana/yc4/main.m b/Kod/bilbana/yc4/main.m index 4ca058a..553ac3e 100644 --- a/Kod/bilbana/yc4/main.m +++ b/Kod/bilbana/yc4/main.m @@ -217,14 +217,14 @@ while 1 end [car2, halt, display.data] = do_car(car2, t, display.data, boot2); if halt - break + breakS end %% BOOTSTRAP if boot1.status [car1, boot1] = do_boot(car1, boot1); end - if boot2.status + if boot2.statusd [car2, boot2] = do_boot(car2, boot2); end %% GOVERNOR -- cgit v1.2.1