Fix Phantom Globals (#4957)

Removes the phantom global definitions that Fowl found.

Fixes:

Game log in GELF not logging proper target.
Pylon attacks not detecting the actual firer of a damaging bullet.
A message in the mixer cooking machine.
A message in airbubbles.
A use_check sanity check in landmines.
Some messages in psych therapy code.
A view() checkk in psych therapy code.
CCIA being unable to announce incoming faxes in some circumstances.
Language whitelists potentially checking the whitelists of the last person to throw a tray in addition to the pref mob.
Fixes some messages/sounds with some custom items.
Fixes a message with digging into the asteroid.
Fixes electrocution code not properly checking for absurdly long hair.
Fixes a broken message in devour.
Fixes a targeting issue with player-controlled hostile ranged mobs.
Fixes failure behavior for modular RnD guns.
Fixes an intent safety check on gun aim.
Fixes the Harvester knock spell potentially not working.
This commit is contained in:
Lohikar
2018-07-01 14:47:58 -05:00
committed by Erki
parent afa99a0278
commit a15aa07307
21 changed files with 39 additions and 44 deletions

View File

@@ -108,6 +108,7 @@
for (var/j = 0, j < strength - 1, j++) //The number of separate splatters
spray_loop:
var/direction = pick(alldirs)
var/target
for (var/i = 1, i < strength, i++) //The distance the splatters will travel from random direction
switch (direction)
if (NORTH)