mirror of
https://github.com/moparisthebest/Simba
synced 2024-11-22 01:02:17 -05:00
Extension: Crov.sex, Updated for OpenScript Update.
This commit is contained in:
parent
cb92a880d6
commit
cc56f02cee
@ -244,7 +244,7 @@ var
|
|||||||
s: TStringList;
|
s: TStringList;
|
||||||
begin
|
begin
|
||||||
a := TMenuItem(Sender).Hint;
|
a := TMenuItem(Sender).Hint;
|
||||||
Delete(a, Length(a) - Length('.'+Extension) + 1, Length('.'+Extension));
|
Delete(a, Length(a) - Length('.' + Extension) + 1, Length('.' + Extension));
|
||||||
SplitRecoverInfo(a, a, b, c);
|
SplitRecoverInfo(a, a, b, c);
|
||||||
|
|
||||||
if (not ForceSave) then
|
if (not ForceSave) then
|
||||||
@ -252,7 +252,7 @@ begin
|
|||||||
s := TStringList.Create;
|
s := TStringList.Create;
|
||||||
try
|
try
|
||||||
s.LoadFromFile(TMenuItem(Sender).Hint);
|
s.LoadFromFile(TMenuItem(Sender).Hint);
|
||||||
OpenScript(a, s.Text);
|
OpenScript(a, s.Text, False);
|
||||||
finally
|
finally
|
||||||
s.Free;
|
s.Free;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user