slightly more effective stop() method
This commit is contained in:
parent
f1c70da6d4
commit
0f97cfccdf
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,7 @@ door = {
|
||||||
toggle : func { me.move(me.target) },
|
toggle : func { me.move(me.target) },
|
||||||
|
|
||||||
# door.stop() -> stop movement
|
# door.stop() -> stop movement
|
||||||
stop : func { me.move(me.getpos()) },
|
stop : func { interpolate(me.positionN) },
|
||||||
|
|
||||||
# door.move(double) -> move to arbitrary position
|
# door.move(double) -> move to arbitrary position
|
||||||
move : func {
|
move : func {
|
||||||
|
|
Loading…
Add table
Reference in a new issue