Fixes the runtimes when sending signal at default frequency and code. Fixes the runtime from receive_signal() proc of the signaler inside c4 that is exploding via a signal. Fixes the issue of the three beep message when sending signal at default frequency and code.

This commit is contained in:
phil235
2014-10-13 15:59:33 +02:00
parent ac9a5bfe0e
commit ee3a17458e
+2 -1
View File
@@ -134,7 +134,8 @@ Code:
if(signal.encryption != code) return 0
if(!(src.wires & WIRE_RADIO_RECEIVE)) return 0
pulse(1)
src.loc.audible_message("\icon[src] *beep* *beep*", null, 1)
if(src.loc)
src.loc.audible_message("\icon[src] *beep* *beep*", null, 1)
return