Skip to content

Commit 357e9a9

Browse files
committed
removed outcommented code
1 parent d9c4a3a commit 357e9a9

File tree

1 file changed

+2
-16
lines changed

1 file changed

+2
-16
lines changed

lua/terrortown/entities/roles/medic/shared.lua

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -672,14 +672,7 @@ if CLIENT then
672672
if plo6_1 == nil then plo6_1 = 5 end
673673
-- nil check plo6_2
674674
if plo6_2 == nil then plo6_2 = false end
675-
--local med_mediccount = 0
676-
-- getting all medics and saving them in a variable
677-
--local plys = select(2, player.Iterator())
678-
--for i = 1, #plys do
679-
-- ply = plys[i]
680-
-- if ply:GetSubRole() == ROLE_MEDIC then med_mediccount = med_mediccount + 1 end
681-
--end
682-
med_mediccount = UpdateMedicCount()
675+
med_mediccount = UpdateMedicCount() -- getting all medics and saving them in a variable
683676
-- several checks to check if revival is required to win and if there are more than one medic
684677
if plo6_2 and med_mediccount == 1 then
685678
EPOP:AddMessage({
@@ -714,14 +707,7 @@ if CLIENT then
714707
plo7 = net.ReadInt(32) -- reading the written int
715708
-- nil check plo7
716709
if plo7 == nil then plo7 = 5 end
717-
--local med_mediccount = 0
718-
-- getting all medics and saving them in a variable
719-
--local plys = select(2, player.Iterator())
720-
--for i = 1, #plys do
721-
-- ply = plys[i]
722-
-- if ply:GetSubRole() == ROLE_MEDIC then med_mediccount = med_mediccount + 1 end
723-
--end
724-
med_mediccount = UpdateMedicCount()
710+
med_mediccount = UpdateMedicCount() -- getting all medics and saving them in a variable
725711
-- several checks to check if there are more than one medic
726712
if med_mediccount == 1 then
727713
EPOP:AddMessage({

0 commit comments

Comments
 (0)