Skip to content

Commit 1f196ce

Browse files
committed
Bumped version number and added readme section
1 parent ef2f38a commit 1f196ce

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,23 @@ The `"start"` split is a special split that starts the timer when any map is loa
8383
}
8484
```
8585

86+
### Conditional start
87+
88+
The `"start"` split may include a condition that causes the run to start.
89+
90+
#### Example
91+
```json
92+
{
93+
"splits": [{
94+
"type": "start",
95+
"on": {
96+
"type": "loadmap",
97+
"name": "rhombus-sqr.central-inner",
98+
}
99+
}]
100+
}
101+
```
102+
86103
### Loadmap
87104

88105
`"loadmap"` checks if the map that is loaded is the same that is in `"name"`.

timer/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"plugin": "plugin.js",
44
"homepage": "https://github.com/CCDirectLink/CCTimer",
55
"description": "A speedrun timer for CrossCode.",
6-
"version": "2.3.1",
6+
"version": "2.4.0",
77
"ccmodDependencies": {
88
"ccloader": "^2.19.0",
99
"Simplify": "^2.9.0"

0 commit comments

Comments
 (0)