From 1da80f98ac85a6cfffe5560ec8edee6b5b544655 Mon Sep 17 00:00:00 2001 From: Matroftt <91145555+Matroftt@users.noreply.github.com> Date: Wed, 2 Oct 2024 21:44:06 +0300 Subject: [PATCH] do not grab self.pay_amount when receiving money --- CorsixTH/Lua/entities/humanoids/patient.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CorsixTH/Lua/entities/humanoids/patient.lua b/CorsixTH/Lua/entities/humanoids/patient.lua index 87efe7f25..2749e49f9 100644 --- a/CorsixTH/Lua/entities/humanoids/patient.lua +++ b/CorsixTH/Lua/entities/humanoids/patient.lua @@ -275,7 +275,7 @@ end function Patient:treatDisease() local hospital = self.hospital - hospital:receiveMoneyForTreatment(self, self.pay_amount) + hospital:receiveMoneyForTreatment(self) self.pay_amount = 0 -- Remove visual effects of disease.