I believe this is a recent change as it was working correctly previously
This will select the third gun slot and not the second
/c game.player.character.selected_gun_index = 2
.15.26 player.character.selected_gun_index 0 Based
-
Nexela
- Smart Inserter

- Posts: 1828
- Joined: Wed May 25, 2016 11:09 am
- Contact:
-
Rseding91
- Factorio Staff

- Posts: 17328
- Joined: Wed Jun 11, 2014 5:23 am
- Contact:
Re: .15.26 player.character.selected_gun_index 0 Based
Thanks for the report. I've fixed it for the next version of 0.15 and added a test so it stays fixed.
If you want to get ahold of me I'm almost always on Discord.