seanohue / fantasy-time-crunch

A way of handling time and time-related state changes in a highly customizable way, for use with games and virtual worlds
8 stars 6 forks source link

custom makes function doesn't seem to work either #6

Open ratacat opened 4 years ago

ratacat commented 4 years ago

for me, that is

day: {
                    makes() {
                        const days = this.time.month % 2 ? 31 : 30
                        return { month: days }
                    },
                    onIncrement() {
                        state.GameServer.emit("gameday",this.time)
                    },
                },

Seems like it increments right past 30 and 31 days...