some dreamchecker fixes and a for loop change (#29997)

This commit is contained in:
Toastical
2025-08-05 21:05:00 +00:00
committed by GitHub
parent a877c1a5a1
commit e35ff2dcb2
5 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -46,8 +46,8 @@ GLOBAL_LIST_INIT(potential_theft_objectives, (subtypesof(/datum/theft_objective)
var/delayed_objective_text = "This is a bug! Report it on the github and ask an admin what type of objective"
/datum/objective/New(text, datum/team/team_to_join, datum/mind/_owner)
. = ..()
SHOULD_CALL_PARENT(TRUE)
. = ..()
GLOB.all_objectives += src
if(text)
explanation_text = text
+1 -1
View File
@@ -356,7 +356,7 @@
/atom/proc/auto_turn()
//Automatically turns based on nearby walls.
var/turf/simulated/wall/T = null
for(var/i = 1, i <= 8; i += i)
for(var/i in 1 to 8)
T = get_ranged_target_turf(src, i, 1)
if(istype(T))
//If someone knows a better way to do this, let me know. -Giacom