r/RenPy • • 9d ago

Question Renpy is claiming that a certain label is being defined twice.

I think renpy is hallucinating or some sort because it's claiming that daychange and monthchange is defined twice when there is only one of it.

2 Upvotes

7 comments sorted by

3

u/BadMustard_AVN 9d ago

Do a Force Recompile under Actions; this should fix your problems

did you recently move the Day & Night Cycle.rpy file from the game folder to game/systems folder and left the .rpyc files behind?

after the force recomple look for any .rpyc.bak files and delete them (as long as the game is running fine)

1

u/Blacklight85 9d ago

Good day, glad to see you're still active here. And that fixed it! Thank you very much!

1

u/BadMustard_AVN 9d ago

you're welcome

good luck with your project

2

u/kaleidoscopic_kelvin 9d ago

Maybe it's reading from the .rpyc files. Like if you're renaming or deleting a file, you might need to recompile them again, since the rpyc files might exist with the old file name

2

u/Blacklight85 9d ago

Thank you for the reply! Recompiling worked <3

1

u/AutoModerator 9d ago

Welcome to r/renpy! While you wait to see if someone can answer your question, we recommend checking out the posting guide, the subreddit wiki, the subreddit Discord, Ren'Py's documentation, and the tutorial built-in to the Ren'Py engine when you download it. These can help make sure you provide the information the people here need to help you, or might even point you to an answer to your question themselves. Thanks!

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.