r/Tf2Scripts • • Nov 03 '20
Resolved Game breaks with a custom toggle script
I created a simple Toggle Script for testing and it worked properly on the first time, but when I toggle it off and on again, my game suddenly stops, the image gets frozen, and to kill the process of the game I have to do it blindly.
Why does it happen? I've noticed that it happens just with toggles, even more complex scripts work properly.
0
Upvotes
View all comments
Show parent comment
1
u/[deleted] Nov 03 '20
Thank you, but I found a solution already, apparently my error was that at the end of the loop I was refreshing it directly, and not with another alias.