mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-24 04:27:35 +01:00
some dreamchecker fixes and a for loop change (#29997)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user