]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/cl_client.qc
Merge branch 'master' into terencehill/itemstime
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / cl_client.qc
index 704eff0ae00687c5de4402c4dff2a7367d54168e..6d31120f66ffd1fddb915aab3f90f9543d742673 100644 (file)
@@ -396,6 +396,7 @@ void PutObserverInServer (void)
 
        if(clienttype(self) == CLIENTTYPE_REAL)
        {
+               Item_ItemsTime_Get(self);
                msg_entity = self;
                WriteByte(MSG_ONE, SVC_SETVIEW);
                WriteEntity(MSG_ONE, self);
@@ -692,6 +693,8 @@ void PutClientInServer (void)
                        return; // spawn failed
                }
 
+               Item_ItemsTime_Clear();
+
                RemoveGrapplingHook(self); // Wazat's Grappling Hook
 
                self.classname = "player";