No-Survival / no-survival.github.io

The game's source code
MIT License
0 stars 1 forks source link

Ardenian #8

Closed Ardenian closed 7 years ago

Ardenian commented 7 years ago

Known issue:

this.increase = function ( amount ) {
    this.value += !Number.isNaN( amount ) ? amount : 1;
}

Does not work as intended right now. doing myResource.increase() will make it be NaN and not increase it by 1, as intended.

Some of the changes are quite rough and can be simplified, would be great if you could take a quick look on it @Idrinth

Ardenian commented 7 years ago

It is probably easier to take a look on the actual files and not the changes, formating quite overlights changes.