mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-22 11:38:12 +01:00
Makes silicon language handling more robust.
Also fixes an issue with lists being targets for qdel(). Fixes #11221.
This commit is contained in:
@@ -123,7 +123,7 @@
|
||||
|
||||
var/datum/language/new_language = all_languages[language]
|
||||
|
||||
if(!istype(new_language) || new_language in languages)
|
||||
if(!istype(new_language) || (new_language in languages))
|
||||
return 0
|
||||
|
||||
languages.Add(new_language)
|
||||
|
||||
Reference in New Issue
Block a user