Skip to content

Commit 670e3e3

Browse files
authored
Fixed quotation marks and hyphens in engine arguments instructions (#526)
Engine arguments need two hyphens, and strings in game.project should not have quotation marks.
1 parent da6c11d commit 670e3e3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/en/manuals/html5.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -264,12 +264,12 @@ It is possible to specify additional engine arguments when the engine is configu
264264
<script id='engine-setup' type='text/javascript'>
265265
var extra_params = {
266266
...,
267-
engine_arguments: ["config=foo1=bar1","--config=foo2=bar2"],
267+
engine_arguments: ["--config=foo1=bar1","--config=foo2=bar2"],
268268
...
269269
}
270270
```
271271

272-
You can also add `"–config=foo1=bar1","--config=foo2=bar2"` to the engine arguments field in the HTML5 section of *game.project* and it will be injected into the generated index.html file.
272+
You can also add `--config=foo1=bar1, --config=foo2=bar2` to the engine arguments field in the HTML5 section of *game.project* and it will be injected into the generated index.html file.
273273

274274
At runtime you get the values like this:
275275

0 commit comments

Comments
 (0)