ethangreen-dev / lovely-injector

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

Fix reverse output of Lua log messages #80

Closed ethangreen-dev closed 1 week ago

ethangreen-dev commented 1 week 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.