You still broke it, actually.
function disconnect()
{
return Parent::disconnect(); //VERSION 4 FIX: Added return to fix clients not disconnecting after gamemode change!
$SpaceMods::Server::RaycastingWeaponsVersion = -1;
schedule(10, 0, deActivatePackage, RaycastingFire); //we probably don't want to de-activate a package while we're in it, so schedule it
}
You need the argument in there. Plus, anything under that parent will not work since you are returning it before the other code.
I am a terrible human being that cannot read properly when it becomes later upon the day, thanks. >_<
I will fix it immediately.
Though i am not entirely sure if the schedule will still continue...