Skip to content

Commit

Permalink
do not grab self.pay_amount when receiving money
Browse files Browse the repository at this point in the history
  • Loading branch information
Matroftt authored Oct 2, 2024
1 parent febb008 commit 1da80f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CorsixTH/Lua/entities/humanoids/patient.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 1da80f9

Please sign in to comment.