Skip to content

Commit 5619b64

Browse files
authored
Update state-substate-scripts.md (#114)
1 parent 1834e6e commit 5619b64

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

wiki/modding/scripting/state-substate-scripts.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,5 @@ FlxG.switchState(new ModState("MyCustomState")); // assuming we have made a new
3939
```
4040
or this code
4141
```haxe
42-
openSubstate(new ModSubState("MyCustomSubstate")) // assuming we have made a new Script ./data/states/MyCustomSubstate.hx
43-
```
42+
openSubState(new ModSubState("MyCustomSubstate")) // assuming we have made a new Script ./data/states/MyCustomSubstate.hx
43+
```

0 commit comments

Comments
 (0)