Qbox-project / qbx_core

http://qbox-project.github.io
Other
46 stars 113 forks source link

replaced lib.waitFor with while, in qbx.spawnVehicle #506

Closed abdel1touimi closed 1 week ago

abdel1touimi commented 1 week ago

Description

Checklist

abdel1touimi commented 1 week ago

This could also be improved by an extension to the lib.waitFor that provides the ability to return to a different callback, in this case to delete the entity rather than erroring.

Yes I agree. until then we have no choice here

Manason commented 1 week ago

Alternative solution: https://github.com/Qbox-project/qbx_core/pull/507