[c12531] Fix recently un-outcommented code to be actually working

(based on commit [12384] - 96d1f0e)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>