overextended / ox_doorlock

https://overextended.dev/ox_doorlock
GNU General Public License v3.0
157 stars 138 forks source link

resolve issue of export providing nil #177

Closed DeterNET closed 8 months ago

DeterNET commented 8 months ago

When using the getDoorIdFromEntity export, it was providing no value back unless it was assigned to a local variable first, This change appears to resolve that,

also because the getDoorFromEntity function returns a door table the returned value needs to be door.id not door.doorid