# Issues with \*finish

**URL:** <https://forum.choiceofgames.com/t/issues-with-finish/20357>\
**Category:** ChoiceScript Help\
**Created:** [September 9, 2016, 7:51pm UTC](https://forum.choiceofgames.com/t/issues-with-finish/20357 "2016-09-09T19:51:45Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![J3loodT4lon](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/j3loodt4lon/32/143559_2.png) [@J3loodT4lon](https://forum.choiceofgames.com/u/J3loodT4lon)\
**Post date:** [September 9, 2016, 7:51pm UTC](https://forum.choiceofgames.com/t/issues-with-finish/20357/1 "2016-09-09T19:51:45Z")

</div>

I posted this in my game thread, but I decided to post it here to see if anyone knows a fix for this.

I have noticed that when reaching a \*finish line in startup, the code works as intended and sends me onto the next scene, but the other scenes I attempt to use \*finish on just send me to the replay screen instead of the next scene in the scene\_list. This has required me to use \*goto\_scene instead of \*finish. Not the worst thing I could have to do, but it is kind of frustrating that I have to write a longer code because the \*finish isn’t working as it should.

Anyone run into this before? Anyone know what is going on to cause this bug?

---

<div class="post-metadata">

**Author:** ![RETowers](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/retowers/32/21477_2.png) [@RETowers](https://forum.choiceofgames.com/u/RETowers)\
**Post date:** [September 9, 2016, 7:55pm UTC](https://forum.choiceofgames.com/t/issues-with-finish/20357/2 "2016-09-09T19:55:29Z")

</div>

First, have you made certain your \*scene\_list is in the correct order, everything is saved, and you’ve refreshed the page you’re testing in?

---

<div class="post-metadata">

**Author:** ![J3loodT4lon](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/j3loodt4lon/32/143559_2.png) [@J3loodT4lon](https://forum.choiceofgames.com/u/J3loodT4lon)\
**Post date:** [September 9, 2016, 8:01pm UTC](https://forum.choiceofgames.com/t/issues-with-finish/20357/3 "2016-09-09T20:01:16Z")

</div>

Yes to all of those.

Even if the scene\_list was in the wrong order, \*finish should still take me to the next scene in line, which it does not after leaving startup.

---

<div class="post-metadata">

**Author:** ![J3loodT4lon](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/j3loodt4lon/32/143559_2.png) [@J3loodT4lon](https://forum.choiceofgames.com/u/J3loodT4lon)\
**Post date:** [September 17, 2016, 2:41pm UTC](https://forum.choiceofgames.com/t/issues-with-finish/20357/4 "2016-09-17T14:41:28Z")

</div>

Does anyone know what is going on? I really could use some help with this…

---

<div class="post-metadata">

**Author:** ![Vendetta](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/vendetta/32/533_2.png) [@Vendetta](https://forum.choiceofgames.com/u/Vendetta)\
**Post date:** [September 17, 2016, 3:30pm UTC](https://forum.choiceofgames.com/t/issues-with-finish/20357/5 "2016-09-17T15:30:03Z")

</div>

When \*finish doesn’t have (or can’t actually find) a “Next Chapter” to load, it defaults to the “Game Over” options as if you had used the \*ending command instead.

It sounds like that’s what’s happening here, so the first thing to do is check that all the scene files are saved in the correct place (…web\mygame\scenes) and that the startup file in that folder is correctly listing all those scenes in its \*scene\_list. It’s easy / common enough to accidentally save stuff in the wrong place, or even to have two copies of startup.txt and to actually be editing the wrong one…

Beyond double-checking this stuff, I can’t think what else might be causing the problem you’re having there.

[Edit:] P.S. If you’re using capital letters for scene names in \*scene\_list, change them to lower case.

---

<div class="post-metadata">

**Author:** ![J3loodT4lon](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/j3loodt4lon/32/143559_2.png) [@J3loodT4lon](https://forum.choiceofgames.com/u/J3loodT4lon)\
**Post date:** [September 17, 2016, 11:18pm UTC](https://forum.choiceofgames.com/t/issues-with-finish/20357/6 "2016-09-17T23:18:59Z")

</div>

Odd. I have been using capital letters in my scene\_list since I started writing and this only just started giving me an issue. Going from startup to Class even worked with a capital letter. But after changing the capital letters to lowercase everything seems to be working as it should. Thanks a bunch, Vendetta 🙂
