Getting an error with get_world_grid_location

I’m not sure what’s going on here. This is the code (just re-extracted the latest version of radiant.smod just to make sure) in radiant/entities.lua:
image
And this is what I’m doing in the in-game Lua console with my entity (a farmer’s field) selected:

How is the radiant.entities:get_world_grid_location(e) function call failing?

1 Like

Hey guys, I did it again! Only this time I was using a colon when I was supposed to be using a period!

And let that be a lesson to you…

2 Likes