Since the render() function no longer takes a mode parameter, ProcConcatVec could not call render(). This is a simple PR to fix that. mode is replaced by the render_mode attribute of the vec env (which also needs to be copied from the parent env by the ConcatVecEnv class.
I'm unsure whether different render_modes should also be returning something (e.g. should ansi render modes also return something?). With this PR I've just kept the logic the same as the previous version.
Since the
render()
function no longer takes amode
parameter,ProcConcatVec
could not callrender()
. This is a simple PR to fix that.mode
is replaced by therender_mode
attribute of the vec env (which also needs to be copied from the parent env by theConcatVecEnv
class.I'm unsure whether different
render_mode
s should also be returning something (e.g. should ansi render modes also return something?). With this PR I've just kept the logic the same as the previous version.