Update fnc_onButtonClickConfirm.sqf

Updated formatting
This commit is contained in:
Daniël 2023-08-11 19:57:54 +02:00 committed by GitHub
parent cf4324b37a
commit 4a2dfddc6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,13 +28,11 @@ if (cbChecked _aceTimestamp && {ACE_player call FUNC(canTimestamp)}) then {
default {
_time = dayTime;
};
case 1:
{
case 1: {
systemTime params ["", "", "", "_hour", "_min", "_sec"];
_time = _hour + _min/60 + _sec/3600;
};
case 2:
{
case 2: {
_offset = GVAR(timestampUTCOffset);
systemTimeUTC params["", "", "", "_hour", "_min", "_sec"];
_hour = _hour + round(_offset);