Line #: Opinion
1. instead of new init it upon world/New().
31. declare the variable above the for statement, not in it.
36. declare the variable above the for statement, not in it.
39. same as above as you're constantly remaking the variable.
40. same as above.
44. same
46. same
47. same
52. same
61. same as 36 & 31
You get the picture. You should see a bit of a difference with these changes in performance ;)
ID:2176412
Nov 23 2016, 3:01 am
|
|
Nov 23 2016, 3:02 am
|
|
Also the mob's variables for this don't seem to be marked tmp so they could end up getting saved by accident.
|
I also get this error when clicking on the map to paint spots on the minimap, after I already did so.
runtime error: Cannot execute null.OverPut(). |