Skip to content

Commit

Permalink
Remove unused variable in setTreatmentPrice
Browse files Browse the repository at this point in the history
  • Loading branch information
Matroftt authored Oct 1, 2024
1 parent ee072e2 commit b319172
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion CorsixTH/Lua/entities/humanoids/patient.lua
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,6 @@ end
--! so changing price in casebook wont affect any longer
function Patient:setTreatmentPrice(disease_id)
local hosp = self.hospital
local casebook = self.hospital.disease_casebook[disease_id]
self.pay_amount = hosp:getTreatmentPrice(disease_id)
end

Expand Down

0 comments on commit b319172

Please sign in to comment.