415 {
416 bool is_primary;
417 if ( Symptom )
418 {
421 }
422
425 else
426 Debug.
LogError(
"Symptom with this UID does not exist",
"PlayerSymptoms");
427
428 if (is_primary)
429 {
431 {
433 {
435 break;
436 }
437 }
438 }
439 else
440 {
442 {
444 {
446 break;
447 }
448 }
449 }
451 m_Player.SetActivePrimarySymptomID(0);
452
453 #ifdef DIAG_DEVELOPER
454 if (
g_Game ) SendServerDebugToClient();
455 #endif
456 }
int m_ActiveSymptomIndexPrimary
ref array< ref SymptomBase > m_SymptomQueueSecondary
ref array< ref SymptomBase > m_SymptomQueuePrimary
ref map< int, SymptomBase > m_SymptomsUIDs
void DecreaseSymptomCount(int symptom_id)
static void LogError(string message=LOG_DEFAULT, string plugin=LOG_DEFAULT, string author=LOG_DEFAULT, string label=LOG_DEFAULT, string entity=LOG_DEFAULT)
Prints debug message as error message.