Boats: Avoid crash if boat pos over limit 0.4.15
authorparamat <mat.gregory@virginmedia.com>
Wed, 21 Dec 2016 07:38:27 +0000 (07:38 +0000)
committerparamat <mat.gregory@virginmedia.com>
Wed, 21 Dec 2016 13:42:23 +0000 (13:42 +0000)
commit3c9d0893ee82cf1d68fa7366e14435ea5009fa51
tree983553c8708bafbf54c39698937ebed166b9e7ac
parent12b154197170c626e75986d7c0f6c2b1c9960957
Boats: Avoid crash if boat pos over limit

If the boat pos is over limit, 'add entity' will not add an entity,
causing 'boat' to be nil.
mods/boats/init.lua