DayZ 1.29
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ CanReleaseAttachment()

override bool Boat_01_ColorBase::CanReleaseAttachment ( EntityAI attachment)
inlineprivate

См. определение в файле Boat_01.c строка 33

34 {
35 if (!super.CanReleaseAttachment(attachment))
36 return false;
37
38 string attType = attachment.GetType();
39
40 if (EngineIsOn() && attType == "SparkPlug")
41 return false;
42
43 return true;
44 }