Skip to content

Commit

Permalink
fix: 🐛 load energy and hp
Browse files Browse the repository at this point in the history
  • Loading branch information
sigureling committed May 3, 2024
1 parent 4fe2090 commit 95f4c84
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CAPI/python/PyAPI/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,11 @@ def Protobuf2THUAI7GameInfo(
gameInfo = THUAI7.GameInfo()
gameInfo.gameTime = allMsg.game_time
gameInfo.redScore = allMsg.red_team_score
gameInfo.redEnergy = allMsg.red_team_energy
gameInfo.redHomeHp = allMsg.red_home_hp
gameInfo.blueScore = allMsg.blue_team_score
gameInfo.blueEnergy = allMsg.blue_team_energy
gameInfo.blueHomeHp = allMsg.blue_home_hp
return gameInfo


Expand Down

0 comments on commit 95f4c84

Please sign in to comment.