1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2025-01-30 04:30:58 +02:00

Fix no color to player_print

This commit is contained in:
Matthew Heguy 2019-02-12 17:04:50 -05:00
parent 158c162930
commit c95c935003

View File

@ -67,6 +67,7 @@ end
-- @param str <string>
-- @param color <table> defaults to white
function Game.player_print(str, color)
color = color or Color.white
if game.player then
game.player.print(str, color)
else