mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-19 07:33:12 +09:00
Fix NaN in subspace storage database
This commit is contained in:
1 parent
9f888867fe
commit
a893109a06
1 file changed
+1
@@ -289,6 +289,7 @@ export class ItemDatabase {
|
||||
* @param quality - The quality of the item to remove.
|
||||
*/
|
||||
removeItem(name: string, count: number, quality: string) {
|
||||
checkCount(count);
|
||||
this.addItem(name, -count, quality);
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user