Skip to content

Commit f5d77fe

Browse files
authored
tweaks (#1166)
1 parent 9b739f1 commit f5d77fe

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

code/modules/mob/living/simple_animal/bot/bot.dm

+1-1
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,7 @@ GLOBAL_LIST_EMPTY(scan_typecaches)
561561
if(isnull(subject))
562562
return
563563

564-
if(ignore_list.len < 50)
564+
if(ignore_list.len >= 50)
565565
remove_ignored_atom(ignore_list[1])
566566

567567
ignore_list += subject

code/modules/mob/living/simple_animal/bot/medbot.dm

-5
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,6 @@
127127
var/medical_mode_flags = MEDBOT_DECLARE_CRIT | MEDBOT_SPEAK_MODE
128128
// Selections: MEDBOT_DECLARE_CRIT | MEDBOT_STATIONARY_MODE | MEDBOT_SPEAK_MODE
129129

130-
///Is the medbot currently tending wounds
131-
var/tending = FALSE
132130
///How panicked we are about being tipped over (why would you do this?)
133131
var/tipped_status = MEDBOT_PANIC_NONE
134132
///The name we got when we were tipped
@@ -226,15 +224,13 @@
226224
patient = null
227225
previous_patient = null
228226
last_found = world.time
229-
tending = FALSE
230227
update_appearance()
231228

232229
/mob/living/simple_animal/bot/medbot/proc/soft_reset() //Allows the medibot to still actively perform its medical duties without being completely halted as a hard reset does.
233230
path = list()
234231
patient = null
235232
set_mode(BOT_IDLE)
236233
last_found = world.time
237-
tending = FALSE
238234
frustration = 0
239235
update_appearance()
240236

@@ -427,7 +423,6 @@
427423
if((get_dist(src,patient) <= 1)) //Patient is next to us, begin treatment!
428424
if(mode != BOT_HEALING)
429425
update_appearance()
430-
frustration = 0
431426
try_medicate_patient(patient)
432427
return
433428

0 commit comments

Comments
 (0)