Commit Graph

6 Commits

Author SHA1 Message Date
Jordan Brown
55653fa1ee Replace most islist calls in components with length() (#32158)
islist was used to check if a thing was

A. A list of things
B. 1 thing

length was profiled to be faster
2017-10-31 15:12:42 -05:00
Jordan Brown
47f88be07f Fixes TakeComponent (#32156)
* Fixes TakeComponent

* Add the note about OnTransfer and COMPONENT_INCOMPATIBLE

* Fix behaviour

* Missed datum.dm
2017-10-30 03:53:00 -05:00
CitadelStationBot
1265e804c5 [MIRROR] Adds a method to transfer all components from one datum to another (#3661)
* Merge pull request #31941 from tgstation/Cyberboss-patch-2

Adds a method to transfer all components from one datum to another

* Adds a method to transfer all components from one datum to another
2017-10-28 01:19:48 -07:00
Jordan Brown
50f942ef4e Allows components to qdel from Initialize 2017-10-26 00:01:52 -05:00
Jordan Brown
08ecb0e322 RegisterSignal() can now accept a list (#31098)
* RegisterSignal may now accept a list of signals

* Update old calls to RegisterSignal()
2017-09-30 08:09:42 -05:00
CitadelStationBot
442689219e [MIRROR] SendSignal() speedup (#2910)
* SendSignal() speedup (#30929)

* Rename component.dm to _component.dm

* Merges RecieveSignal() into SendSignal()

* Makes ComponentActivated() and AfterComponentActivated() async

* SendSignal() speedup
2017-09-23 05:53:23 -05:00