mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 16:47:13 +01:00
[MIRROR] Converts a shitload of istypes to their more concise macros [MDB IGNORE] (#15702)
Converts a shitload of istypes to their more concise macros Co-authored-by: Seth Scherer <supernovaa41@gmx.com> Co-authored-by: GoldenAlpharex <jerego1234@hotmail.com>
This commit is contained in:
co-authored by
Seth Scherer
GoldenAlpharex
parent
d9e2f62a24
commit
a8c10d1659
@@ -57,7 +57,7 @@
|
||||
return
|
||||
|
||||
var/atom/path_id = id_card.value
|
||||
if(path_id && !istype(path_id, /obj/item/card/id))
|
||||
if(path_id && !isidcard(path_id))
|
||||
path_id = null
|
||||
failed.set_output(COMPONENT_SIGNAL)
|
||||
reason_failed.set_output("Object marked is not an ID! Using no ID instead.")
|
||||
|
||||
Reference in New Issue
Block a user