Skip to content
This repository has been archived by the owner on Jun 9, 2022. It is now read-only.

Commit

Permalink
Correcting copy&paste mistake
Browse files Browse the repository at this point in the history
Closing #81
  • Loading branch information
Faq committed Apr 22, 2019
1 parent 9fe6f3e commit 1292be2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MainUnit.pas
Original file line number Diff line number Diff line change
Expand Up @@ -5655,7 +5655,7 @@ procedure TMainForm.CompleteCreatureEquipTemplateScript;
caguid:= edceCreatureID.Text;
if caguid='' then exit;
SetFieldsAndValues(Fields, Values, 'creature_equip_template', PFX_CREATURE_EQUIP_TEMPLATE, mectLog);
mectScript.Text := Format('DELETE FROM `creature_equip_template` WHERE (`edceCreatureID`=%s);'#13#10+
mectScript.Text := Format('DELETE FROM `creature_equip_template` WHERE (`CreatureID`=%s);'#13#10+
'INSERT INTO `creature_equip_template` (%s) VALUES (%s);'#13#10,[caguid, Fields, Values]);
end;

Expand Down

0 comments on commit 1292be2

Please sign in to comment.