Light Alkmst
New Member
- Reaction score
- 20
I've heard that destroying a variable that's already been destroyed, but not re-assigned is bad. How bad is it and what would it do?
local effect fx = // i really don't want to code this on top
call DestroyEffect(fx)
call DestroyEffect(fx)
call DestroyEffect(AddSpecialEffect("model", x, y ))
Removing a leak won't create a new leak...I'd say it will do nothing but maybe create more leaks. (still think 1 is better)
I'd assume it does in fact do something (because Grimoire notifies you of double frees), but that could just be to highlight the fact that "you're doing it wrong" If it does do anything, I have no clue what it is
10000 per 10sec only? Pff, you could easily get 100,000 executions, if not 200,000, per sec on a .01 timer (although things might start sizzling then =D)