]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
don't remove a func_plat just because blocked got called at the wrong time
authorRudolf Polzer <divVerent@xonotic.org>
Fri, 19 Aug 2011 04:43:29 +0000 (06:43 +0200)
committerRudolf Polzer <divVerent@xonotic.org>
Fri, 19 Aug 2011 04:43:29 +0000 (06:43 +0200)
qcsrc/server/t_plats.qc

index e2d801fa491fe9c011da08a22fea8ae1beccceac..ca87ede224ad45a1a67f401008ec253271c2a65f 100644 (file)
@@ -140,8 +140,9 @@ void plat_crush()
             plat_go_down ();
         else if (self.state == 3)
             plat_go_up ();
-        else
-            objerror ("plat_crush: bad self.state\n");
+       // when in other states, then the plat_crush event came delayed after
+       // plat state already had changed
+       // this isn't a bug per se!
     }
 };