Upon further testing, my code works flawlessly on cogd community server.. perhaps a mod or speedup setting caused an issue? or maybe my installation is not fully valid, npm reports 'screeps version 4.0.5' I mostly followed the guide from here: https://docs.screeps.com/contributed/ps_ubuntu.html but keeping the install in /opt/screeps/ after failing to get screeps-launcher to run how I wanted it. Edit: I added 'screepsmod-konami' after running into an issue where my room counter was not reset when I did a respawn (after generating a new map with screepsmod-map-tool) I will do another reset and disable the mod and wait and see if it works normally. EDIT2: Resolved after removing screepsmod-konami