From d11e705e61301ea1cff2471ed27f9d696b501f46 Mon Sep 17 00:00:00 2001 From: Wolkenfarmer Date: Wed, 16 Oct 2024 16:06:12 +0200 Subject: [PATCH] #325 backend: temp: change phase change time from 600 seconds to 30 seconds --- backend/dps_training_k/game/models/patient_instance.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/backend/dps_training_k/game/models/patient_instance.py b/backend/dps_training_k/game/models/patient_instance.py index 4d82aebf..f58ae8f6 100644 --- a/backend/dps_training_k/game/models/patient_instance.py +++ b/backend/dps_training_k/game/models/patient_instance.py @@ -4,16 +4,16 @@ from django.core.exceptions import ValidationError from django.db import models -from configuration import settings -from game.models import Exercise from game.channel_notifications import PatientInstanceDispatcher +from game.models import Exercise +from helpers.completed_actions import CompletedActionsMixin from helpers.eventable import Eventable from helpers.moveable import Moveable from helpers.moveable_to import MoveableTo from helpers.triage import Triage -from helpers.completed_actions import CompletedActionsMixin from template.models import PatientState, Action, Subcondition, Material + # from game.models import ActionInstanceStateNames moved into function to avoid circular imports # from game.models import Area, Lab # moved into function to avoid circular imports @@ -132,7 +132,7 @@ def apply_pretreatments(self): def schedule_state_change(self, time_offset=0): from game.models import ScheduledEvent - state_change_time = 600 + state_change_time = 30 if self.patient_state.is_dead: return False