Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

don't make duplicate slider/buttons on game_restart #4

Open
jack27121 opened this issue Mar 26, 2024 · 1 comment
Open

don't make duplicate slider/buttons on game_restart #4

jack27121 opened this issue Mar 26, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@jack27121
Copy link
Contributor

in my project, i often use a game restart for quick debugging, though that also duplicates everything i create with inspectron

my inspectron code at the end of my objects Create event

Inspectron()
	.Slider("roughness_strength",0,1)
	.Slider("normal_strength",0,1)
	.Slider("scale",0,4)
	.Slider("offset_scale",-1,1)
	.render()

code to restart when pressing R
game_restart();

Runner_HvavKgsEff

@shdwcat
Copy link
Owner

shdwcat commented Jun 19, 2024

Sorry I missed seeing this! When I get a chance I will see if I can fix this

@shdwcat shdwcat added the bug Something isn't working label Jun 19, 2024
@shdwcat shdwcat changed the title don't make duplicate slider/buttons don't make duplicate slider/buttons on game_restart Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants