Bug - Fixed _hotTubSoaks does not update if incorrect

Bale

Minion
On a character I used the hot tub a few times outside of mafia. Then I went to mafia and using the hottub wouldn't update the total to 5 even after it failed. I had to manually update _hotTubSoaks to 5 to allow my recovery script to work.

This should work like other counters and update to max when it fails.
 

DoctorRotelle

Developer
Committed revision 8556.

Code:
> hottub

Visiting Relaxing Hot Tub in clan VIP lounge
You gain 1 hit point

> prefref tub

_hotTubSoaks (user, now '5', default 0)

> set _hotTubSoaks=0

_hotTubSoaks => 0

> hottub

Visiting Relaxing Hot Tub in clan VIP lounge

> prefref tub

_hotTubSoaks (user, now '5', default 0)
 
Last edited:
Top