소스 검색

Minor change to defVal topic.

mitm 7 년 전
부모
커밋
0c2e347ef0
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/docs/asciidoc/jme3/advanced/save_and_load.adoc

+ 1 - 1
src/docs/asciidoc/jme3/advanced/save_and_load.adoc

@@ -198,4 +198,4 @@ If you let the compiler initialize `someIntValue`, it will initialize to zero an
 ----
 ----
 someIntValue   = capsule.readInt(    "someIntValue",   1);
 someIntValue   = capsule.readInt(    "someIntValue",   1);
 ----
 ----
-Now when `read` is called, it will see the "`someIntValue`" name and set the `someIntValue` variable to zero. Not one, as you were expecting.
+Now when `read` is called, it will see the "`someIntValue`" name and set the `someIntValue` variable to zero. Not one, as you were expecting. Keep this in mind when using Savable.