mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 21:48:39 +01:00
Minor modifications to Yvar's A* fixes:
-Removed the priorityqueue datum. It is now a list() -priorityqueue/proc/insert is now a helper /proc/sorted_insert() as it may be helpful in maintaining pre-sorted lists or insertion sorts. -Replaced priorityqueue/proc/extract_last() calls with calls to pop(), which already existed. -Removed last few references to "bestF" (from old awful A) in lighting and MC -Replaced a section were it'd append to the end of the returned path list and then reverse the list. Now it inserts at the start of the list.
This commit is contained in:
@@ -287,7 +287,7 @@ datum/controller/game_controller/proc/Recover() //Mostly a placeholder for now.
|
||||
var/msg = "## DEBUG: [time2text(world.timeofday)] MC restarted. Reports:\n"
|
||||
for(var/varname in master_controller.vars)
|
||||
switch(varname)
|
||||
if("tag","bestF","type","parent_type","vars") continue
|
||||
if("tag","type","parent_type","vars") continue
|
||||
else
|
||||
var/varval = master_controller.vars[varname]
|
||||
if(istype(varval,/datum))
|
||||
|
||||
Reference in New Issue
Block a user