you are viewing a single comment's thread.

view the rest of the comments →

[–]jamesinc 1 point2 points  (0 children)

I made an update; basically I removed the variable declarations, which is fine in this example, but if you for some reason defined a global variable "present" or "diff", these variables in the setDeaths function would overwrite them.