исправил оповещения, теперь работают четко
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user