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:
parent
158c162930
commit
c95c935003
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user