Can't resist

This commit is contained in:
ScrawnyRonnie 2023-10-25 09:47:15 -04:00 committed by GitHub
parent 73df169af8
commit 77c78a657d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -47,7 +47,7 @@ class Terminal(tdef: TerminalDefinition) extends Amenity with Hackable {
* @return an actionable message that explains what resulted from interacting with this `Terminal`
*/
def Request(player: Player, msg: Any): Terminal.Exchange = {
if (Faction == player.Faction || HackedBy.isDefined || Owner.GUID == PlanetSideGUID(0) || Owner.GUID == 0) {
if (Faction == player.Faction || HackedBy.isDefined || Owner.GUID == PlanetSideGUID(0) || Owner.IsEmpty) {
tdef.Request(player, msg)
} else {
Terminal.NoDeal()