Fix realnumflames runtime error

- Declare realnumflames in create
- Make sure it and other calculated-in-draw variable updates aren't
  skipped if hosting