Skip to content

Commit

Permalink
Refer to correct file path in docs
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 555508114
Change-Id: I4bca255fa690a3e9829e3f1616db6c51b37dcdbc
  • Loading branch information
jagapiou authored and Copybara-Service committed Aug 10, 2023
1 parent 053a0e2 commit dfff4d2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions docs/substrate_tutorial/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ the `lab2d_settings` part of the config. In the end, they should look like this:
config.substrate.lab2d_settings = {
"levelName": "harvest",
"levelDirectory":
"meltingpot/examples/tutorial/harvest/levels",
"examples/tutorial/harvest/levels",
"maxEpisodeLengthFrames": 100,
"numPlayers": 1,
"spriteSize": 8,
Expand Down Expand Up @@ -501,7 +501,7 @@ character in the ASCII map, and call the prefab `"apple"`.
config.lab2d_settings = {
"levelName": "harvest",
"levelDirectory":
"meltingpot/examples/tutorial/harvest/levels",
"examples/tutorial/harvest/levels",
"maxEpisodeLengthFrames": 100,
"numPlayers": 5,
"spriteSize": 8,
Expand Down Expand Up @@ -720,7 +720,7 @@ First set `config.num_players = 5`. The rest of the changes go in
config.lab2d_settings = {
"levelName": "harvest_finished",
"levelDirectory":
"meltingpot/examples/tutorial/harvest/levels",
"examples/tutorial/harvest/levels",
"maxEpisodeLengthFrames": 1000,
"numPlayers": 5,
"spriteSize": 8,
Expand Down
4 changes: 2 additions & 2 deletions meltingpot/lua/modules/colors.lua
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ colors = {
{0, 255, 198, 255},
{255, 110, 65, 255},
}
-- LINT.ThenChange(//meltingpot//utils/substrates/colors.py)
-- LINT.ThenChange(//meltingpot/utils/substrates/colors.py)

-- LINT.IfChange
--[[ Convert provided color to a palette suitable for the player text shape.
Expand Down Expand Up @@ -140,7 +140,7 @@ function getPalette(colorRGB)
["x"] = alpha,
}
end
-- LINT.ThenChange(//meltingpot//utils/substrates/shapes.py)
-- LINT.ThenChange(//meltingpot/utils/substrates/shapes.py)

return {
colors = colors,
Expand Down

0 comments on commit dfff4d2

Please sign in to comment.