mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-02-21 09:39:56 +00:00
more cleanup
This commit is contained in:
parent
3860b2aacc
commit
f7d0aebc2a
@ -209,8 +209,7 @@ namespace QSB.Utility
|
||||
|
||||
foreach (var quantumObject in ownedQuantumObjects)
|
||||
{
|
||||
var qsbObj = quantumObject as IWorldObject;
|
||||
if (qsbObj == null)
|
||||
if (quantumObject is not IWorldObject qsbObj)
|
||||
{
|
||||
WriteLine(4, $"NULL QSBOBJ", Color.red);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user