aboutsummaryrefslogtreecommitdiff
path: root/src/paperflight/static/items.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/paperflight/static/items.js')
-rw-r--r--src/paperflight/static/items.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/paperflight/static/items.js b/src/paperflight/static/items.js
index 09c9888..96f4767 100644
--- a/src/paperflight/static/items.js
+++ b/src/paperflight/static/items.js
@@ -3,12 +3,12 @@
* appear in a level.
*/
-function constructVent(x, y, width, height){
+function constructVent(x, y, width, height, state=-1){
return {
draw: drawVent,
update: updateVent,
wind: [],
- x, y, width, height
+ x, y, width, height, state
}
}
function constructCoin(x, y, radius=10){