Beispiel #1
0
 def apply(self, settings):
     self.data = g_gui.update_data(self.ids, settings)
     g_gui.update(self.ids, self.template)
     if not self.data['ReplaceOriginalCircle']:
         gun_marker_ctrl.useClientGunMarker = lambda: True
         gun_marker_ctrl.useServerGunMarker = lambda: True
         gun_marker_ctrl.useDefaultGunMarkers = lambda: False
         gm_factory._FACTORIES_COLLECTION = (gm_factory._DevControlMarkersFactory, gm_factory._OptionalMarkersFactory, gm_factory._EquipmentMarkersFactory)
 def apply(self, settings):
     self.data = g_gui.update_data(self.ids, settings, 'spoter')
     g_gui.update(self.ids, self.template)
 def apply(self, settings):
     self.data = g_gui.update_data(self.ids, settings)
     g_gui.update(self.ids, self.template)
Beispiel #4
0
 def apply(self, settings):
     from gui.mods.mod_mods_gui import g_gui
     self.config.data = g_gui.update_data(self.config.ids, settings, 'pavel3333')
     g_gui.update(self.config.ids, self.template)