#275 Fix Sveta getting her tips from tips_roll variable when she should be getting tips_total

Об'єднано
Kevin_Smarts злито 1 комітів з LoyalCourtJester/fix-road-house-tips до Kevin_Smarts/master 10 місяців тому
LoyalCourtJester відкоментовано 10 місяців тому

I realized that my character (Sveta) was getting, on average, 30 rubles as her tips after working a shift at Road House cafe instead of the displayed tips I was supposed to receive (after Kevin_Smarts's commit to fix Sveta not getting her tips). I looked through the source code and changed money += workKafe['tips_roll'] to money += workkafe['tips_total'] to fix this issue.

Tests:

  1. Worked at Road House with my current save (save from v0.8.2.0 -> v0.9.0.1 -> compiled glife.qsp from commit caba46e273) loaded into a compiled glife.qsp, displayed tips were actually added to my cash value instead of plain 30 rubles like my previous situation

  2. Worked at Road House with new save from compiled glife.qsp, displayed tips were added to my cash value instead of plain 30 rubles

Edit: I corrected my modified city_kafe.qsrc file by removing extra EOL characters added by my text editor by amending my commit, whoops

I realized that my character (Sveta) was getting, on average, 30 rubles as her tips after working a shift at Road House cafe instead of the displayed tips I was supposed to receive (after Kevin_Smarts's commit to fix Sveta not getting her tips). I looked through the source code and changed `money += workKafe['tips_roll']` to `money += workkafe['tips_total']` to fix this issue. Tests: 1. Worked at Road House with my current save (save from v0.8.2.0 -> v0.9.0.1 -> compiled `glife.qsp` from commit https://git.tfgames.site/Kevin_Smarts/glife/commit/caba46e273d709b6c2af6fb94ec4fbbda92f809d) loaded into a compiled `glife.qsp`, displayed tips were actually added to my cash value instead of plain 30 rubles like my previous situation 2. Worked at Road House with new save from compiled `glife.qsp`, displayed tips were added to my cash value instead of plain 30 rubles Edit: I corrected my modified `city_kafe.qsrc` file by removing extra EOL characters added by my text editor by amending my commit, whoops
Цей запрос було успішно влито!
Підпишіться щоб приєднатися до обговорення.
Без Мітки
Етап відсутній
Немає відповідального
1 учасників
Завантажується...
Скасувати
Зберегти
Тут ще немає жодного вмісту.