Page 1 of 1

Code snag

Posted: Tue Mar 14, 2017 11:35 pm
by Heartystar
Was hoping my first post would be WIP, so much for that.
This may or may not be the right place for this question (I may have more code-problem questions later but for now...)
when trying to test my game:
The label start is defined twice at
File "bob/game/script.rpyc" line 11 and
File "game/script.rpy", line 28

What does this mean? How do I fix this?
I've rewritten those lines and saved, which -typically- solves the problem. Just not in this case.

...Also, I initially named my game "bob" as a test, I thought I changed it (it no longer says it across the top of the window but,) any way of changing that? Or is it that the original name and it's current name not matching is creating an issue?

Thanks in advance!

Re: Code snag

Posted: Tue Mar 14, 2017 11:48 pm
by indoneko
Check for duplicate lines in your script.rpy - Did you add another label named start: somewhere in your script and forgot to delete it? Did you copy your files from another directory?
If it doesn't help, delete the old script.rpyc and try "force recompile" in renpy launcher.

Re: Code snag

Posted: Thu Mar 16, 2017 10:42 pm
by Heartystar
Score! It's working.

It seems I had a duplicate script hidden in a subfolder, had to track it down and delete it. Easy fix, but still - many thanks~!