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.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/paperflight/static/items.js b/src/paperflight/static/items.js
index 96f4767..14ec8eb 100644
--- a/src/paperflight/static/items.js
+++ b/src/paperflight/static/items.js
@@ -40,7 +40,7 @@ function constructSwitch(x, y, width, height, stateCount){
x, y, width, height, stateCount
}
}
-function constructRect(x, y, width, height, state){
+function constructSwitchRect(x, y, width, height, state){
return{
draw: drawSwitchRect,
update: updateSwitchRect,