forked from 0ad/0ad
parent
ba0700f612
commit
b88fd4fe09
@ -616,7 +616,7 @@ var g_Commands = {
|
||||
"set-shading-color": function(player, cmd, data)
|
||||
{
|
||||
// Debug command to make an entity brightly colored
|
||||
for (let ent in cmd.entities)
|
||||
for (let ent of cmd.entities)
|
||||
{
|
||||
var cmpVisual = Engine.QueryInterface(ent, IID_Visual);
|
||||
if (cmpVisual)
|
||||
|
Loading…
Reference in New Issue
Block a user