mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Avoid duplicate groups id.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
from dcs.mapping import Point
|
||||
import uuid
|
||||
|
||||
NAME_BY_CATEGORY = {
|
||||
"power": "Power plant",
|
||||
@@ -70,6 +71,7 @@ class TheaterGroundObject:
|
||||
groups = []
|
||||
obj_name = ""
|
||||
sea_object = False
|
||||
uuid = uuid.uuid1()
|
||||
|
||||
def __init__(self, category: str):
|
||||
self.category = category
|
||||
|
||||
Reference in New Issue
Block a user