Skip to content

Commit

Permalink
Merge pull request #321 from IUrreta/main
Browse files Browse the repository at this point in the history
Main
  • Loading branch information
IUrreta authored Aug 3, 2024
2 parents 80ebb5f + 35786fe commit 0c9c3b0
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
2 changes: 2 additions & 0 deletions back/scripts/edit_teams.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ def edit_team(info):
oldERSID = cursor.execute(f"SELECT DesignID FROM Parts_Designs WHERE TeamID = {teamID} AND PartType = 1").fetchone()
oldGearboxID = cursor.execute(f"SELECT DesignID FROM Parts_Designs WHERE TeamID = {teamID} AND PartType = 2").fetchone()
newEngineID = info['engine']
new_engine_manufacturer = cursor.execute(f"SELECT Value FROM Parts_Enum_EngineManufacturers WHERE EngineDesignID = {newEngineID}").fetchone()
cursor.execute(f"UPDATE Parts_TeamHistory SET EngineManufacturer = {new_engine_manufacturer[0]} WHERE TeamID = {teamID} AND SeasonID = {day_season[1]}")
newErsID = ers_dict[newEngineID]
newGearboxID = gearbox_dict[newEngineID]
engine_stats = cursor.execute(f"SELECT PartStat, UnitValue, Value FROM Parts_Designs_StatValues WHERE DesignID = {newEngineID}").fetchall()
Expand Down
2 changes: 1 addition & 1 deletion front/js/head2head.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ let combined_dict = {
24: "ART Grand Prix (F3)",
25: "Hitech GP (F3)",
26: "VAR Racing (F3)",
17: "MP Motorsport (F3)",
27: "MP Motorsport (F3)",
28: "Campos Racing (F3)",
29: "Carlin (F3)",
30: "Jenzzer Motorsport (F3)",
Expand Down
2 changes: 1 addition & 1 deletion launcher/version.conf
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.1.14
2.1.15
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Database Editor F1 Manager",
"version": "2.1.14",
"version": "2.1.15",
"description": "A tool that will let you edit your save file from F1 Manager games",
"main": "main.js",
"scripts": {
Expand Down

0 comments on commit 0c9c3b0

Please sign in to comment.