Check for an id_tag just to avoid mapping errors

This commit is contained in:
Aronai Sieyes
2020-03-31 18:02:39 -04:00
parent 4843655098
commit be97a7911d

View File

@@ -31,6 +31,8 @@ Any frequency works, it's self-setting, but it seems like people have decided 13
to_world("<b><font color='red'>WARNING:</font><font color='black'>Airlock helper '[name]' couldn't find what it wanted at: X:[x] Y:[y] Z:[z]</font></b>")
else if(!my_controller)
to_world("<b><font color='red'>WARNING:</font><font color='black'>Airlock helper '[name]' couldn't find a controller at: X:[x] Y:[y] Z:[z]</font></b>")
else if(!my_controller.id_tag)
to_world("<b><font color='red'>WARNING:</font><font color='black'>Airlock helper '[name]' found a controller without an 'id_tag' set: X:[x] Y:[y] Z:[z]</font></b>")
else
setup()
return INITIALIZE_HINT_QDEL