исправил оповещения, теперь работают четко

This commit is contained in:
PC1\PTyTb
2025-08-16 22:42:29 +03:00
parent 2386d14b86
commit fd1c6b6bb8
17 changed files with 968 additions and 928 deletions
+2 -5
View File
@@ -93,7 +93,6 @@ function TTTW_API.createCustomReward(title: string; cost: string;
var
RequestData: TStringStream;
s, s1, json: string;
i: integer;
cr: TCustomRevards;
JSONData: TJSONObject;
JSONArray: TJSONArray;
@@ -1041,9 +1040,9 @@ var
EmoteObj: TJSONObject;
ImagesObj: TJSONObject;
Emote: TEmotes;
I, J: Integer;
I: Integer;
chosenFormat, chosenTheme, chosenScale: string;
foundAnimated, foundNonStatic, foundDark: Boolean;
foundAnimated, foundDark: Boolean;
scaleVal, maxScale: Double;
s: string;
begin
@@ -1076,7 +1075,6 @@ begin
// Âûáîð ôîðìàòà (format)
foundAnimated := False;
foundNonStatic := False;
chosenFormat := 'static'; // çíà÷åíèå ïî óìîë÷àíèþ
// Ïðîâåðêà íàëè÷èÿ "animated"
@@ -1094,7 +1092,6 @@ begin
if s <> 'static' then
begin
chosenFormat := s;
foundNonStatic := True;
Break;
end;