Skip to content

Commit

Permalink
Merge pull request #39 from YetheSamartaka/dev-Tomcat
Browse files Browse the repository at this point in the history
Medical menu and stringtable hotfix
  • Loading branch information
Tomcat-SG authored Oct 20, 2020
2 parents b3a68b9 + 125d6de commit 3cc75a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
5 changes: 0 additions & 5 deletions addons/airway/functions/fnc_displayPatientInformation.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@

params ["_target", "_selectionN"];

if (_target getVariable ["kat_DPatientInfo_PFH", false]) exitWith {};
_target setVariable ["kat_DPatientInfo_PFH", true];

private _display = uiNamespace getVariable ["ace_medical_gui_RscPatientInfo", displayNull];

if (isNull _display) then {
Expand All @@ -34,7 +31,6 @@ if (isNull _display) then {

if (isNull _display) exitWith {
[_pfhID] call CBA_fnc_removePerFrameHandler;
_target setVariable ["kat_DPatientInfo_PFH", nil];
};

private _target = _display getVariable ["ace_medical_gui_target", objNull];
Expand All @@ -45,7 +41,6 @@ if (isNull _display) then {
[_pfhID] call CBA_fnc_removePerFrameHandler;
"ace_medical_gui_RscPatientInfo" cutFadeOut 0.3;
[["ace_medical_DistanceToFar", _target call ace_common_fnc_getName], 2] call ace_common_fnc_displayTextStructured;
_target setVariable ["kat_DPatientInfo_PFH", nil];
};

// Update body image
Expand Down
4 changes: 2 additions & 2 deletions addons/circulation/stringtable.xml
Original file line number Diff line number Diff line change
Expand Up @@ -747,7 +747,7 @@
<German>Tourniquet Behandlungszeit</German>
<Spanish>Tiempo de tratamiento del torniquete</Spanish>
<Chinese>止血带治疗时间</Chinese>
<Czech>Doba ošetření škrtidla</Czech>
<Czech>Doba ošetření pomocí škrtidla</Czech>
<Korean>지혈대 치료 시간</Korean>
<French>Durée du traitement du garrot</French>
</Key>
Expand All @@ -757,7 +757,7 @@
<German>Die benötigte Behandlungszeit für ein Tourniquet</German>
<Spanish>El tiempo de tratamiento necesario para un torniquete</Spanish>
<Chinese>止血带所需的治疗时间</Chinese>
<Czech>Potřebná doba ošetření škrtidla</Czech>
<Czech>Čas potřebný k použití škrtidla</Czech>
<Korean>지혈대에 필요한 치료 시간</Korean>
<French>Le temps de traitement nécessaire pour un garrot</French>
</Key>
Expand Down

0 comments on commit 3cc75a6

Please sign in to comment.