I successfully integrated a preexisting game screen with Director, I go back to the options menu successfully, and when I try to go back to the original game screen it gives me an error!
Main.lua -> Screen1.lua -> PlayerSelection.lua -> sns.lua -> Screen1.lua->PlayerSelection.lua ->sns.lua --error happens here
ERROR CODE:
Runtime error
.../Desktop/LC/CTF/game4/sns.lua:1: name conflict for module 'sns'
stack traceback:
[C]: ?
[C]: in function 'module'
.../Desktop/LC/CTF/game4/sns.lua:1: in main chunk
[C]: in function 'require'
...top/LC/CTF/game4/director.lua:116: in function 'loadScene'
...top/LC/CTF/game4/director.lua:175: in function 'changeScene'
LC/CTF/game4/playerSelection.lua:35: in function <lc><br> ?: in function <?:214><br><br>
Thanks in advance, I really appreciate all of your support! [import]uid: 7197 topic_id: 5065 reply_id: 305065[/import]