Fixes backwards return values in the do_after_once_checks proc (#13189)

Co-authored-by: SteelSlayer <SteelSlayer@users.noreply.github.com>
This commit is contained in:
SteelSlayer
2020-04-11 19:26:14 -06:00
committed by GitHub
co-authored by SteelSlayer
parent 1ea2aa798f
commit 20c3da55a5
+2 -2
View File
@@ -454,8 +454,8 @@ GLOBAL_LIST_INIT(do_after_once_tracker, list())
/proc/do_after_once_checks(cache_key)
if(GLOB.do_after_once_tracker[cache_key] && GLOB.do_after_once_tracker[cache_key] == DOAFTERONCE_MAGIC)
GLOB.do_after_once_tracker[cache_key] = FALSE
return FALSE
return TRUE
return TRUE
return FALSE
/proc/is_species(A, species_datum)
. = FALSE