Don’t call your script the same as the enum, in recent GM versions this is ambiguous between QSlot<enum>.Mount<enum field> and QSlot<script>.Mount<static variable> and might break as more compiler logic is changed in GMRT.
If that’s not what it is, send me a sample project with the enum that breaks and I’ll have a look