mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-17 11:05:16 +01:00
V8 Engine fixes (#71033)
The V8 engine now allows you to learn the recipe and will no longer runtime when it checks if you already know it.
This commit is contained in:
@@ -504,7 +504,7 @@
|
||||
/datum/mind/proc/has_crafting_recipe(mob/user, potential_recipe)
|
||||
if(!learned_recipes)
|
||||
return FALSE
|
||||
if(!istype(potential_recipe, /datum/crafting_recipe))
|
||||
if(!ispath(potential_recipe, /datum/crafting_recipe))
|
||||
CRASH("Non-crafting recipe passed to has_crafting_recipe")
|
||||
for(var/recipe in user.mind.learned_recipes)
|
||||
if(recipe == potential_recipe)
|
||||
|
||||
Reference in New Issue
Block a user