add skybox editor
[carveJwlIkooP6JGAAIwe30JlM.git] / world_gate.c
index 259260c0f006a3110409ec27d0fd7b5fc7c5e5ea..1631e05dc535b65ea19b925e65962e03271c7743 100644 (file)
@@ -326,6 +326,10 @@ static void world_link_nonlocal_async( void *payload, u32 size ){
       ent_gate *gate = mdl_arritm( &world->ent_gate, j );
       gate_transform_update( gate );
 
+      if( skaterift.demo_mode )
+         if( world_static.instance_addons[world_id]->flags & ADDON_REG_PREMIUM )
+            continue;
+
       if( !(gate->flags & k_ent_gate_nonlocal) ) continue;
       if( gate->flags & k_ent_gate_linked ) continue;