ethangreen-dev / lovely-injector

A runtime lua injector for games built with LÖVE
MIT License
79 stars 11 forks source link

Fix reverse output of Lua log messages #80

Closed ethangreen-dev closed 2 months ago

ethangreen-dev commented 2 months ago

This fixes an annoying problem where log messages from Lua print() functions would be output to the console and log file in reverse order. For example print("1", nil) would be printed to the console/logfile as nil 1.