HomeWildfire Games

Prevent division by 0 for experience bar

Description

Prevent division by 0 for experience bar

Required experience can be set to 0 initially and because entity is upgrated after simulation starts, there was division by 0 in atlas for such entities causing experience bar going to infinity.

Differential revision: D4317
Fixes: #6362
Patch by: @Langbart
Reviewed by: @Angen