Ver Fonte

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.
Halfstar há 6 meses atrás
pai
commit
670e3e32d5
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      docs/en/manuals/html5.md

+ 2 - 2
docs/en/manuals/html5.md

@@ -264,12 +264,12 @@ It is possible to specify additional engine arguments when the engine is configu
     <script id='engine-setup' type='text/javascript'>
     var extra_params = {
         ...,
-        engine_arguments: ["config=foo1=bar1","--config=foo2=bar2"],
+        engine_arguments: ["--config=foo1=bar1","--config=foo2=bar2"],
         ...
     }
 ```
 
-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.
+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.
 
 At runtime you get the values like this: