some functions to compat

moved 2 functions to compat.lua
* getSpectators
* doRelocate
I've tested it multiple times and it dosn't move 'em. So, should I change it?